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 =
3- py{36,37, 38,39,310-dev },
4+ py{38,39,310,311,312 },
45 flake8,
56 mypy
6-
7- [gh-actions]
8- python =
9- 3.6: py36
10- 3.7: py37
11- 3.8: py38
12- 3.9: py39
13- 3.10: py310-dev
7+ isolated_build = True
148
159[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
1620deps =
1721 pytest
18- git+https://github.com/sphinx-doc/sphinx
22+ sphinx @ git+https://github.com/sphinx-doc/sphinx
1923extras =
2024 test
2125setenv =
2226 PYTHONWARNINGS = all,ignore::DeprecationWarning:docutils.io
27+ PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes
2328commands =
24- pytest --durations 25 {posargs}
29+ python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs}
2530
2631[testenv:flake8]
2732description =
2833 Run style checks.
2934extras =
30- test
3135 lint
3236commands =
3337 flake8
@@ -36,7 +40,6 @@ commands=
3640description =
3741 Run type checks.
3842extras =
39- test
4043 lint
4144commands =
4245 mypy sphinxcontrib/
You can’t perform that action at this time.
0 commit comments