Skip to content

Commit

Permalink
mypy settings in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dvolodin7 committed Dec 11, 2023
1 parent 59b013c commit 4e30818
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: ruff -q examples/ src/ tests/

- name: Check Mypy
run: mypy --strict src/
run: mypy src/

rust-test:
runs-on: ubuntu-20.04
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,9 @@ where = ["src"]

[tool.setuptools.dynamic]
version = {attr = "gufo.ping.__version__"}

[tool.mypy]
explicit_package_bases = true
mypy_path = ["src"]
strict = true
warn_unused_ignores = false

0 comments on commit 4e30818

Please sign in to comment.