mirror of https://github.com/pypa/pip
Add a separate tox job for mypy
This commit is contained in:
parent
b3e16f9a9d
commit
55fd83fda5
8
tox.ini
8
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue