add mypy.ini

features-42
deadc0de6 4 months ago
parent 5c06e36cc6
commit b0876f3382

@ -0,0 +1,3 @@
[mypy]
strict = true
disable_error_code = import-untyped

@ -60,7 +60,7 @@ pylint -sn setup.py
# mypy
echo "[+] mypy"
mypy --version
mypy --strict --disable-error-code=import-untyped catcli/
mypy --config-file=.mypy.ini catcli/
set +e
grep -R 'TODO' catcli/ && echo "TODO found" && exit 1

Loading…
Cancel
Save