add mypy (with some overrides) to tox
This commit is contained in:
parent
095fac19f1
commit
3f5fa4e4bf
@ -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"]
|
||||
|
||||
|
1
tox.ini
1
tox.ini
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user