11[tox]
22envlist =
3- py{38,39,310,311 }-lint,
4- py{36,37,38,39,310,311 }-unit,
5- py{36,37,38,39,310,311 }-bandit,
6- py{37,38,39,310,311 }-mypy,
3+ py3{8,9,10,11,12 }-lint,
4+ py3{6,7,8,9,10,11,12 }-unit,
5+ py3{6,7,8,9,10,11,12 }-bandit,
6+ py3{7,8,9,10,11,12 }-mypy,
77 py311-lint-readme,
88 py311-pydocstyle
99
@@ -20,50 +20,51 @@ python =
2020 3.9: py39
2121 3.10: py310
2222 3.11: py311
23+ 3.12: py312
2324
2425[testenv]
2526description =
26- py{36,37,38,39,310,311 }-unit: Run the unit tests
27- py{38,39,310,311 }-lint: Lint the Python code
28- py{36,37,38,39,310,311 }-bandit: Search for common security issues
29- py{37,38,39,310,311 }-mypy: Check for type safety
27+ py3{6,7,8,9,10,11,12 }-unit: Run the unit tests
28+ py3{8,9,10,11,12 }-lint: Lint the Python code
29+ py3{6,7,8,9,10,11,12 }-bandit: Search for common security issues
30+ py3{7,8,9,10,11,12 }-mypy: Check for type safety
3031 py311-pydocstyle: docstring style checker
3132 py311-lint-readme: Lint the README.rst->.md conversion
3233
3334passenv =
3435 CI
3536 GITHUB_*
3637deps =
37- py{36,37,38,39,310,311 }-{unit,mypy}: -rrequirements.txt
38- py{36,37,38,39,310,311 }-{unit,mypy}: -rtest-requirements.txt
39- py{38,39,310,311 }-lint: -rlint-requirements.txt
40- py{36,37,38,39,310,311 }-bandit: bandit
41- py{36,37 }-bandit: importlib-metadata<5 # work around https://github.com/PyCQA/bandit/issues/956
42- py{37,38,39,310,311 }-mypy: -rmypy-requirements.txt
38+ py3{6,7,8,9,10,11,12 }-{unit,mypy}: -rrequirements.txt
39+ py3{6,7,8,9,10,11,12 }-{unit,mypy}: -rtest-requirements.txt
40+ py3{8,9,10,11,12 }-lint: -rlint-requirements.txt
41+ py3{6,7,8,9,10,11,12 }-bandit: bandit
42+ py3{6,7 }-bandit: importlib-metadata<5 # work around https://github.com/PyCQA/bandit/issues/956
43+ py3{7,8,9,10,11,12 }-mypy: -rmypy-requirements.txt
4344
4445setenv =
45- py{36,37,38,39,310,311 }-unit: LC_ALL = C.UTF-8
46+ py3{6,7,8,9,10,11,12 }-unit: LC_ALL = C.UTF-8
4647
4748commands =
48- py{36,37,38,39,310,311 }-unit: python -m pip install -U pip setuptools wheel
49- py{36,37,38,39,310,311 }-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
50- py{36,37,38,39,310,311 }-bandit: bandit --recursive cwl_utils
51- py{38,39,310,311 }-lint: make flake8
52- py{38,39,310,311 }-lint: make format-check
53- py{37,38,39,310,311 }-mypy: make mypy
49+ py3{6,7,8,9,10,11,12 }-unit: python -m pip install -U pip setuptools wheel
50+ py3{6,7,8,9,10,11,12 }-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
51+ py3{6,7,8,9,10,11,12 }-bandit: bandit --recursive cwl_utils
52+ py3{8,9,10,11,12 }-lint: make flake8
53+ py3{8,9,10,11,12 }-lint: make format-check
54+ py3{7,8,9,10,11,12 }-mypy: make mypy
5455 py37-mypy: make mypy_3.6
5556
5657allowlist_externals =
57- py{38,39,310,311 }-lint: flake8
58- py{38,39,310,311 }-lint: black
59- py{36,37,38,39,310,311 }-{mypy,shellcheck,lint,unit}: make
58+ py3{8,9,10,11,12 }-lint: flake8
59+ py3{8,9,10,11,12 }-lint: black
60+ py3{6,7,8,9,10,11,12 }-{mypy,shellcheck,lint,unit}: make
6061
6162skip_install =
62- py{38,39,310,311 }-lint: true
63- py{36,37,38,39,310,311 }-bandit: true
63+ py{8,9,10,11,12 }-lint: true
64+ py{6,7,8,9,10,11,12 }-bandit: true
6465
6566extras =
66- py{36,37,38,39,310,311 }-unit: pretty
67+ py3{6,7,8,9,10,11,12 }-unit: pretty
6768
6869[testenv:py311-pydocstyle]
6970allowlist_externals = make
0 commit comments