diff --git a/.gitignore b/.gitignore index 9522b1a49..6b11f22da 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ locale tools/runanki.system anki/buildhash.py .mypy_cache +.pytype diff --git a/requirements.dev b/requirements.dev index 5f62f9aeb..69b16dc2f 100644 --- a/requirements.dev +++ b/requirements.dev @@ -2,3 +2,4 @@ nose mypy==0.750 pylint mock +pytype diff --git a/tools/typecheck.sh b/tools/typecheck.sh index 8f9bda521..e35fb3249 100755 --- a/tools/typecheck.sh +++ b/tools/typecheck.sh @@ -2,3 +2,4 @@ TOOLS="$(cd "`dirname "$0"`"; pwd)" mypy $TOOLS/../anki $TOOLS/../aqt +pytype $TOOLS/../anki