mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
parent
2afa0b6627
commit
8b500fe383
6
tox.ini
6
tox.ini
@ -55,6 +55,12 @@ commands=
|
|||||||
{envpython} -Wall tests/run.py {posargs}
|
{envpython} -Wall tests/run.py {posargs}
|
||||||
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
||||||
|
|
||||||
|
[testenv:mypy]
|
||||||
|
deps=
|
||||||
|
mypy
|
||||||
|
commands=
|
||||||
|
mypy sphinx/
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands=
|
commands=
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
Loading…
Reference in New Issue
Block a user