11[tox]
22envlist =
3- py{36,37,38,39,310}-lint,
4- py{36,37,38,39,310}-unit,
3+ py{36,37,38,39,310,311 }-lint,
4+ py{36,37,38,39,310,311 }-unit,
55
6- py{36,37,38,39,310}-mypy,
6+ py{36,37,38,39,310,311 }-mypy,
77 py39-lintreadme,
88 py39-pydocstyle
99
@@ -19,51 +19,52 @@ python =
1919 3.8: py38
2020 3.9: py39
2121 3.10: py310
22+ 3.11: py311
2223
2324[testenv]
2425description =
25- py{36,37,38,39,310}-unit: Run the unit tests
26- py{36,37,38,39,310}-lint: Lint the Python code
27- py{36,37,38,39,310}-mypy: Check for type safety
28- py39 -pydocstyle: docstring style checker
29- py39 -lintreadme: Lint the README.rst->.md conversion
26+ py{36,37,38,39,310,311 }-unit: Run the unit tests
27+ py{36,37,38,39,310,311 }-lint: Lint the Python code
28+ py{36,37,38,39,310,311 }-mypy: Check for type safety
29+ py311 -pydocstyle: docstring style checker
30+ py311 -lintreadme: Lint the README.rst->.md conversion
3031
3132passenv =
3233 CI
3334 GITHUB_*
3435deps =
35- py{36,37,38,39,310}-{unit,mypy}: -rrequirements.txt
36- py{36,37,38,39,310}-{unit,mypy}: -rtest-requirements.txt
37- py{36,37,38,39,310}-lint: flake8-bugbear
38- py{36,37,38,39,310}-lint: black
39- py{36,37,38,39,310}-mypy: -rmypy-requirements.txt
36+ py{36,37,38,39,310,311 }-{unit,mypy}: -rrequirements.txt
37+ py{36,37,38,39,310,311 }-{unit,mypy}: -rtest-requirements.txt
38+ py{36,37,38,39,310,311 }-lint: flake8-bugbear
39+ py{36,37,38,39,310,311 }-lint: black
40+ py{36,37,38,39,310,311 }-mypy: -rmypy-requirements.txt
4041
4142setenv =
42- py{36,37,38,39,310}-unit: LC_ALL = C.UTF-8
43+ py{36,37,38,39,310,311 }-unit: LC_ALL = C.UTF-8
4344
4445commands =
45- py{36,37,38,39,310}-unit: python -m pip install -U pip setuptools wheel
46- py{36,37,38,39,310}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
47- py{36,37,38,39,310}-lint: make flake8
48- py{36,37,38,39,310}-lint: make format-check
49- py{36,37,38,39,310}-mypy: make mypy
46+ py{36,37,38,39,310,311 }-unit: python -m pip install -U pip setuptools wheel
47+ py{36,37,38,39,310,311 }-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
48+ py{36,37,38,39,310,311 }-lint: make flake8
49+ py{36,37,38,39,310,311 }-lint: make format-check
50+ py{36,37,38,39,310,311 }-mypy: make mypy
5051
51- whitelist_externals =
52- py{36,37,38,39,310}-lint: flake8
53- py{36,37,38,39,310}-lint: black
54- py{36,37,38,39,310}-{mypy,shellcheck,lint,unit}: make
52+ allowlist_externals =
53+ py{36,37,38,39,310,311 }-lint: flake8
54+ py{36,37,38,39,310,311 }-lint: black
55+ py{36,37,38,39,310,311 }-{mypy,shellcheck,lint,unit}: make
5556
5657skip_install =
57- py{36,37,38,39,310}-lint: true
58+ py{36,37,38,39,310,311 }-lint: true
5859
59- [testenv:py39 -pydocstyle]
60- whitelist_externals = make
60+ [testenv:py311 -pydocstyle]
61+ allowlist_externals = make
6162commands = make diff_pydocstyle_report
6263deps =
6364 pydocstyle
6465 diff-cover
6566
66- [testenv:py39 -lintreadme]
67+ [testenv:py311 -lintreadme]
6768description = Lint the README.rst->.md conversion
6869commands =
6970 python setup.py sdist
@@ -72,4 +73,4 @@ commands =
7273deps =
7374 twine
7475 wheel
75- readme_renderer[md ]
76+ readme_renderer[rst ]
0 commit comments