Split optionals
This commit is contained in:
parent
f309a19d5e
commit
be932ea9c4
3 changed files with 7 additions and 5 deletions
|
@ -14,7 +14,7 @@ jobs:
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
pip install -e .[dev] -q --disable-pip-version-check -q
|
pip install -e .[lint,typing] -q --disable-pip-version-check -q
|
||||||
python -m pip list --format=columns --disable-pip-version-check
|
python -m pip list --format=columns --disable-pip-version-check
|
||||||
- name: Run pylint
|
- name: Run pylint
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
pip install -e .[dev] -q --disable-pip-version-check -q
|
pip install -e .[lint] -q --disable-pip-version-check -q
|
||||||
python -m pip list --format=columns --disable-pip-version-check
|
python -m pip list --format=columns --disable-pip-version-check
|
||||||
- name: Run pylint
|
- name: Run pylint
|
||||||
run: |
|
run: |
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
pip install -e .[dev] -q --disable-pip-version-check -q
|
pip install -e .[typing] -q --disable-pip-version-check -q
|
||||||
python -m pip list --format=columns --disable-pip-version-check
|
python -m pip list --format=columns --disable-pip-version-check
|
||||||
- name: Run mypy
|
- name: Run mypy
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -32,9 +32,11 @@ include = ["dockge_cli*"]
|
||||||
"*" = ["py.typed"]
|
"*" = ["py.typed"]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
lint = [
|
||||||
"pylint~=3.2.5",
|
"pylint~=3.2.5",
|
||||||
"mypy",
|
]
|
||||||
|
typing = [
|
||||||
|
"mypy~=1.10.1",
|
||||||
"types-PyYAML~=6.0.12.20240311",
|
"types-PyYAML~=6.0.12.20240311",
|
||||||
"types-tabulate~=0.9.0.20240106",
|
"types-tabulate~=0.9.0.20240106",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue