diff --git a/.mypy.ini b/.mypy.ini new file mode 100644 index 0000000..424e71f --- /dev/null +++ b/.mypy.ini @@ -0,0 +1,3 @@ +[mypy] +strict = true +disable_error_code = import-untyped \ No newline at end of file diff --git a/tests.sh b/tests.sh index f5e5b48..c74939c 100755 --- a/tests.sh +++ b/tests.sh @@ -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