From e63f5b8d79b6d4a4899678d556ff5a7ef56c8370 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 17 Jan 2024 12:09:25 +0100 Subject: [PATCH] pytype checks --- tests-requirements.txt | 1 + tests.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/tests-requirements.txt b/tests-requirements.txt index b8a8cd1..1803f06 100644 --- a/tests-requirements.txt +++ b/tests-requirements.txt @@ -5,3 +5,4 @@ coverage; python_version >= '3.0' pylint; python_version > '3.0' mypy; python_version > '3.0' pytest; python_version > '3.0' +pytype; python_version > '3.0' diff --git a/tests.sh b/tests.sh index c74939c..3412e78 100755 --- a/tests.sh +++ b/tests.sh @@ -62,6 +62,11 @@ echo "[+] mypy" mypy --version mypy --config-file=.mypy.ini catcli/ +# pytype +echo "[+] pytype" +pytype --version +pytype catcli/ + set +e grep -R 'TODO' catcli/ && echo "TODO found" && exit 1 grep -R 'FIXME' catcli/ && echo "FIXME found" && exit 1