File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[tox]
2+ minversion = 2.4.0
23envlist =
34 py{38,39,310,311,312},
45 flake8,
56 mypy
7+ isolated_build = True
68
79[testenv]
10+ usedevelop = True
11+ passenv =
12+ https_proxy
13+ http_proxy
14+ no_proxy
15+ COLORTERM
16+ PERL
17+ PERL5LIB
18+ PYTEST_ADDOPTS
19+ TERM
820deps =
921 pytest
1022 sphinx @ git+https://github.com/sphinx-doc/sphinx
1123extras =
1224 test
1325setenv =
1426 PYTHONWARNINGS = all,ignore::DeprecationWarning:docutils.io
27+ PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes
1528commands =
16- pytest --durations 25 {posargs}
29+ python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs}
1730
1831[testenv:flake8]
1932description =
2033 Run style checks.
2134extras =
22- test
2335 lint
2436commands =
2537 flake8
@@ -28,7 +40,6 @@ commands=
2840description =
2941 Run type checks.
3042extras =
31- test
3243 lint
3344commands =
3445 mypy sphinxcontrib/
You can’t perform that action at this time.
0 commit comments