mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #4117 from stephenfin/the-great-toxification-1
The great toxification (part 1)
This commit is contained in:
commit
d699fa66a6
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,6 +12,7 @@ TAGS
|
||||
.tags
|
||||
.tox
|
||||
.venv
|
||||
.coverage
|
||||
.DS_Store
|
||||
sphinx/pycode/Grammar*pickle
|
||||
distribute-*
|
||||
|
17
tox.ini
17
tox.ini
@ -6,15 +6,16 @@ passenv = https_proxy http_proxy no_proxy
|
||||
deps=
|
||||
six
|
||||
pytest
|
||||
pytest-cov
|
||||
html5lib
|
||||
mock
|
||||
enum34
|
||||
typing
|
||||
setenv =
|
||||
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
|
||||
PYTHONDONTWRITEBYTECODE = true
|
||||
commands=
|
||||
{envpython} -Wall tests/run.py --ignore tests/py35 {posargs}
|
||||
{envpython} -Wall tests/run.py --ignore tests/py35 --cov=sphinx \
|
||||
--durations 25 {posargs}
|
||||
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
||||
|
||||
[testenv:pypy]
|
||||
@ -46,6 +47,13 @@ deps=
|
||||
deps=flake8
|
||||
commands=flake8
|
||||
|
||||
[testenv:pylint]
|
||||
deps=
|
||||
pylint
|
||||
{[testenv]deps}
|
||||
commands=
|
||||
pylint --rcfile utils/pylintrc sphinx
|
||||
|
||||
[testenv:py27]
|
||||
deps=
|
||||
{[testenv]deps}
|
||||
@ -56,10 +64,11 @@ deps=
|
||||
typed_ast
|
||||
{[testenv]deps}
|
||||
commands=
|
||||
{envpython} -Wall tests/run.py {posargs}
|
||||
{envpython} -Wall tests/run.py --cov=sphinx --durations 25 {posargs}
|
||||
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
|
||||
|
||||
[testenv:mypy]
|
||||
basepython=python3
|
||||
deps=
|
||||
mypy
|
||||
commands=
|
||||
@ -67,4 +76,4 @@ commands=
|
||||
|
||||
[testenv:docs]
|
||||
commands=
|
||||
python setup.py build_sphinx
|
||||
python setup.py build_sphinx {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user