diff --git a/.forgejo/workflows/build-release.yaml b/.forgejo/workflows/build-release.yaml index 75a71ac..600b9b0 100644 --- a/.forgejo/workflows/build-release.yaml +++ b/.forgejo/workflows/build-release.yaml @@ -14,7 +14,7 @@ jobs: uses: https://code.forgejo.org/actions/checkout@v3 - name: Install packages 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 - name: Run pylint run: | diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index d134355..55de02a 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -11,7 +11,7 @@ jobs: uses: https://code.forgejo.org/actions/checkout@v3 - name: Install packages 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 - name: Run pylint run: | @@ -26,7 +26,7 @@ jobs: uses: https://code.forgejo.org/actions/checkout@v3 - name: Install packages 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 - name: Run mypy run: | diff --git a/pyproject.toml b/pyproject.toml index 1c52ac8..830b0f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,9 +32,11 @@ include = ["dockge_cli*"] "*" = ["py.typed"] [project.optional-dependencies] -dev = [ +lint = [ "pylint~=3.2.5", - "mypy", +] +typing = [ + "mypy~=1.10.1", "types-PyYAML~=6.0.12.20240311", "types-tabulate~=0.9.0.20240106", ]