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