1
1
[tox]
2
2
envlist =
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,
7
7
py311-lint-readme,
8
8
py311-pydocstyle
9
9
@@ -20,50 +20,51 @@ python =
20
20
3.9: py39
21
21
3.10: py310
22
22
3.11: py311
23
+ 3.12: py312
23
24
24
25
[testenv]
25
26
description =
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
30
31
py311-pydocstyle: docstring style checker
31
32
py311-lint-readme: Lint the README.rst->.md conversion
32
33
33
34
passenv =
34
35
CI
35
36
GITHUB_*
36
37
deps =
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
43
44
44
45
setenv =
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
46
47
47
48
commands =
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
54
55
py37-mypy: make mypy_3.6
55
56
56
57
allowlist_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
60
61
61
62
skip_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
64
65
65
66
extras =
66
- py{36,37,38,39,310,311 }-unit: pretty
67
+ py3{6,7,8,9,10,11,12 }-unit: pretty
67
68
68
69
[testenv:py311-pydocstyle]
69
70
allowlist_externals = make
0 commit comments