Fix mypy.stubtest invocation

This commit is contained in:
Nick Coghlan 2021-06-27 16:09:59 +10:00
parent 9a1453b673
commit fffe1d96be

View file

@ -8,7 +8,7 @@ commands =
coverage report
coverage xml
# mypy won't install on PyPy, so only run the typechecking on CPython
!pypy3: mypy.stubtest --allowlist dev/mypy.allowlist contextlib2
!pypy3: python -m mypy.stubtest --allowlist dev/mypy.allowlist contextlib2
deps =
coverage
!pypy3: mypy