mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
Add mypy env
There are still kinks to be worked out but this works reasonably well. This will fail until we can figure out how to import things from the typing module for the type: comments only. We do not want to add a dependency on that backport only for this mypy env.
This commit is contained in:
parent
1b91c8d66a
commit
1312e4e0ef
2 changed files with 14 additions and 3 deletions
10
tox.ini
10
tox.ini
|
|
@ -35,6 +35,16 @@ deps =
|
|||
commands =
|
||||
pylint flake8
|
||||
|
||||
[testenv:mypy]
|
||||
basepython = python3
|
||||
skipsdist = true
|
||||
skip_install = true
|
||||
use_develop = false
|
||||
deps =
|
||||
mypy-lang
|
||||
commands =
|
||||
mypy flake8
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
sphinx>=1.3.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue