Skip to content

Commit 390d342

Browse files
committed
Update Tox commands and environment list
1 parent 31f11e0 commit 390d342

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

tox.ini

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
11
[tox]
2+
minversion = 2.4.0
23
envlist =
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
1620
deps=
1721
pytest
18-
git+https://github.com/sphinx-doc/sphinx
22+
sphinx @ git+https://github.com/sphinx-doc/sphinx
1923
extras=
2024
test
2125
setenv =
2226
PYTHONWARNINGS = all,ignore::DeprecationWarning:docutils.io
27+
PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes
2328
commands=
24-
pytest --durations 25 {posargs}
29+
python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs}
2530

2631
[testenv:flake8]
2732
description =
2833
Run style checks.
2934
extras =
30-
test
3135
lint
3236
commands=
3337
flake8
@@ -36,7 +40,6 @@ commands=
3640
description =
3741
Run type checks.
3842
extras =
39-
test
4043
lint
4144
commands=
4245
mypy sphinxcontrib/

0 commit comments

Comments
 (0)