Add a separate tox job for mypy

This commit is contained in:
Pradyun S. Gedam 2017-07-17 23:02:30 +05:30
parent b3e16f9a9d
commit 55fd83fda5
1 changed files with 7 additions and 1 deletions

View File

@ -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