Let Mypy check all files
From previous commit, the test suite also type-checks.
This commit is contained in:
parent
903b83e211
commit
593278206a
1
mypy.ini
1
mypy.ini
|
@ -1,4 +1,5 @@
|
||||||
[mypy]
|
[mypy]
|
||||||
|
files = .
|
||||||
show_error_codes = true
|
show_error_codes = true
|
||||||
strict = true
|
strict = true
|
||||||
exclude = build/
|
exclude = build/
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -26,7 +26,7 @@ deps =
|
||||||
mypy == 0.961
|
mypy == 0.961
|
||||||
commands =
|
commands =
|
||||||
# we need to install types-requests
|
# we need to install types-requests
|
||||||
mypy --install-types --non-interactive {toxinidir}/check_patroni
|
mypy --install-types --non-interactive
|
||||||
|
|
||||||
[testenv:build]
|
[testenv:build]
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in a new issue