From 54bfb486e144be2ff3b7e41f37304e08cefb195b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 16 Dec 2019 17:38:43 +1000 Subject: [PATCH] enable pytype for anki/ --- .gitignore | 1 + requirements.dev | 1 + tools/typecheck.sh | 1 + 3 files changed, 3 insertions(+) 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