Split optionals
All checks were successful
/ pylint (push) Successful in 10s
/ mypy (push) Successful in 12s

This commit is contained in:
Firq 2024-07-05 11:25:00 +02:00
parent f309a19d5e
commit be932ea9c4
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 7 additions and 5 deletions

View file

@ -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: |

View file

@ -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: |

View file

@ -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",
] ]