From 0fb391a30c14a85f8e3d1eca412b16311123e278 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Sat, 26 Jun 2021 22:12:55 +1000 Subject: [PATCH] Actually run a typecheck in CI --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 6b0c293..5f7972a 100644 --- a/tox.ini +++ b/tox.ini @@ -7,8 +7,11 @@ commands = coverage run -m unittest discover -t . -s test coverage report coverage xml + # mypy won't install on PyPy, so only run the typechecking on CPython + !pypy3: mypy contextlib2 deps = coverage + !pypy3: mypy [gh-actions] python =