Skip to content

Commit fd02457

Browse files
authored
update tox, add py38,39,310 remove py35 (#13138)
1 parent ca6357e commit fd02457

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

tox.ini

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
minversion = 3.8.0
33
skip_missing_interpreters = true
44
envlist =
5-
py35,
65
py36,
76
py37,
7+
py38,
8+
py39,
9+
py310,
810
lint,
911
type,
1012
docs,
@@ -36,26 +38,28 @@ commands =
3638
coverage html -d {toxworkdir}/htmlcov --rcfile setup.cfg
3739
diff-cover --compare-branch {env:DIFF_AGAINST:origin/master} {toxworkdir}/coverage.xml
3840
depends =
39-
py35,
4041
py36,
4142
py37,
43+
py38,
44+
py39,
45+
py310,
4246
parallel_show_output = True
4347

4448
[testenv:lint]
4549
description = check the code style
46-
basepython = python3.7
50+
basepython = python3.10
4751
commands = flake8 {posargs}
4852

4953
[testenv:type]
5054
description = type check ourselves
51-
basepython = python3.7
55+
basepython = python3.10
5256
commands =
5357
python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
5458
python -m mypy --config-file mypy_self_check.ini misc/proper_plugin.py
5559

5660
[testenv:docs]
5761
description = invoke sphinx-build to build the HTML docs
58-
basepython = python3.7
62+
basepython = python3.10
5963
deps = -rdocs/requirements-docs.txt
6064
commands =
6165
sphinx-build -d "{toxworkdir}/docs_doctree" docs/source "{toxworkdir}/docs_out" --color -W -bhtml {posargs}

0 commit comments

Comments
 (0)