tox: Add 'mypy' target

Like the recently added 'docs' target, this is easier than creating a
virtualenv, installing deps and running make.

Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
Stephen Finucane 2017-02-28 17:31:31 +00:00
parent 2afa0b6627
commit 8b500fe383

View File

@ -55,6 +55,12 @@ commands=
{envpython} -Wall tests/run.py {posargs}
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
[testenv:mypy]
deps=
mypy
commands=
mypy sphinx/
[testenv:docs]
commands=
python setup.py build_sphinx