Add a separate tox job for mypy
@@ -35,7 +35,6 @@ deps =
commands =
flake8 .
isort --recursive --check-only --diff pip tests
- mypy -p pip
[testenv:lint-py2]
basepython = python2
@@ -46,3 +45,10 @@ commands = {[lint]commands}
basepython = python3
deps = {[lint]deps}
commands = {[lint]commands}
+
+[testenv:mypy]
+basepython = python3
+deps = mypy
+commands =
+ mypy -p pip
+ mypy -p pip -2
