add mypy (with some overrides) to tox

This commit is contained in:
Brian S. Stephan 2023-06-28 12:55:50 -05:00
parent 095fac19f1
commit 51445163a8
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,10 @@ line_length = 120
[tool.mypy]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "google.protobuf.*"
ignore_missing_imports = true
[tool.pytest]
python_files = ["*_tests.py", "tests.py", "test_*.py"]

View File

@ -54,6 +54,7 @@ commands =
# run style checks
commands =
flake8
mypy gp2040ce_bintools
- flake8 --disable-noqa --ignore= --select=E,W,F,C,D,A,G,B,I,T,M,DUO
[coverage:paths]