add mypy (with some overrides) to tox
This commit is contained in:
parent
095fac19f1
commit
51445163a8
|
@ -35,6 +35,10 @@ line_length = 120
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
|
|
||||||
|
[[tool.mypy.overrides]]
|
||||||
|
module = "google.protobuf.*"
|
||||||
|
ignore_missing_imports = true
|
||||||
|
|
||||||
[tool.pytest]
|
[tool.pytest]
|
||||||
python_files = ["*_tests.py", "tests.py", "test_*.py"]
|
python_files = ["*_tests.py", "tests.py", "test_*.py"]
|
||||||
|
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -54,6 +54,7 @@ commands =
|
||||||
# run style checks
|
# run style checks
|
||||||
commands =
|
commands =
|
||||||
flake8
|
flake8
|
||||||
|
mypy gp2040ce_bintools
|
||||||
- flake8 --disable-noqa --ignore= --select=E,W,F,C,D,A,G,B,I,T,M,DUO
|
- flake8 --disable-noqa --ignore= --select=E,W,F,C,D,A,G,B,I,T,M,DUO
|
||||||
|
|
||||||
[coverage:paths]
|
[coverage:paths]
|
||||||
|
|
Loading…
Reference in New Issue