Specify files in pyproject.toml

This commit is contained in:
Viicos 2023-09-09 12:55:50 +02:00
parent 0eb9d94e9c
commit ff5499e645
3 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: Run ruff
run: ruff docker tests
- name: Run mypy
run: mypy docker
run: mypy
unit-tests:
runs-on: ubuntu-latest

View File

@ -169,7 +169,7 @@ ruff: build-py3
.PHONY: mypy
mypy: build-py3
docker run -t --rm docker-sdk-python3 mypy docker
docker run -t --rm docker-sdk-python3 mypy
.PHONY: docs
docs: build-docs

View File

@ -20,6 +20,7 @@ ignore = [
"**/__init__.py" = ["F401"]
[tool.mypy]
files = ["docker"]
python_version = "3.8"
[[tool.mypy.overrides]]