File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change 1
1
[tox]
2
+ minversion = 2.4.0
2
3
envlist =
3
- py{36,37, 38,39,310-dev },
4
+ py{38,39,310,311,312 },
4
5
flake8,
5
6
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
14
8
15
9
[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
16
20
deps =
17
21
pytest
18
- git+https://github.com/sphinx-doc/sphinx
22
+ sphinx @ git+https://github.com/sphinx-doc/sphinx
19
23
extras =
20
24
test
21
25
setenv =
22
26
PYTHONWARNINGS = all,ignore::DeprecationWarning:docutils.io
27
+ PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes
23
28
commands =
24
- pytest --durations 25 {posargs}
29
+ python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs}
25
30
26
31
[testenv:flake8]
27
32
description =
28
33
Run style checks.
29
34
extras =
30
- test
31
35
lint
32
36
commands =
33
37
flake8
@@ -36,7 +40,6 @@ commands=
36
40
description =
37
41
Run type checks.
38
42
extras =
39
- test
40
43
lint
41
44
commands =
42
45
mypy sphinxcontrib/
You can’t perform that action at this time.
0 commit comments