1
1
[tox]
2
2
envlist =
3
- py{37,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,
7
- py310 -lintreadme,
8
- py310 -pydocstyle
3
+ py3{8,9,10,11,12 }-lint,
4
+ py3{6,8,9,10,11,12 }-unit,
5
+ py3{6,8,9,10,11,12 }-bandit,
6
+ py3{8,9,10,11,12 }-mypy,
7
+ py311 -lintreadme,
8
+ py311 -pydocstyle
9
9
10
10
skip_missing_interpreters = True
11
11
@@ -17,72 +17,72 @@ testpaths = tests
17
17
[gh-actions]
18
18
python =
19
19
3.6: py36
20
- 3.7: py37
21
20
3.8: py38
22
21
3.9: py39
23
22
3.10: py310
24
23
3.11: py311
24
+ 3.12: py312
25
25
26
26
[testenv]
27
27
skipsdist =
28
28
py3{6,7,8,9,10,11}-!{unit,mypy,lintreadme} = True
29
29
30
30
description =
31
- py{36,37,38,39,310,311 }-unit: Run the unit tests
32
- py{36,37,38,39,310,311 }-lint: Lint the Python code
33
- py{36,37,38,39,310,311 }-bandit: Search for common security issues
34
- py{37,38,39,310,311 }-mypy: Check for type safety
35
- py310 -pydocstyle: docstring style checker
36
- py310 -lintreadme: Lint the README.rst->.md conversion
31
+ py3{6,8,9,10,11,12 }-unit: Run the unit tests
32
+ py3{6,8,9,10,11,12 }-lint: Lint the Python code
33
+ py3{6,8,9,10,11,12 }-bandit: Search for common security issues
34
+ py3{8,9,10,11,12 }-mypy: Check for type safety
35
+ py311 -pydocstyle: docstring style checker
36
+ py311 -lintreadme: Lint the README.rst->.md conversion
37
37
38
38
passenv =
39
39
CI
40
40
GITHUB_*
41
41
42
42
deps =
43
- py{36,37,38,39,310,311 }-{unit,mypy}: -rrequirements.txt
44
- py{36,37,38,39,310,311 }-{unit,mypy}: -rtest-requirements.txt
45
- py{36,37,38,39,310,311 }-lint: flake8-bugbear
46
- py{36,37,38,39,310,311 }-lint: black~=23.1
47
- py{36,37,38,39,310,311 }-bandit: bandit
48
- py{37,38,39,310,311 }-mypy: -rmypy-requirements.txt
43
+ py3{6,8,9,10,11,12 }-{unit,mypy}: -rrequirements.txt
44
+ py3{6,8,9,10,11,12 }-{unit,mypy}: -rtest-requirements.txt
45
+ py3{6,8,9,10,11,12 }-lint: flake8-bugbear
46
+ py3{6,8,9,10,11,12 }-lint: black~=23.1
47
+ py3{6,8,9,10,11,12 }-bandit: bandit
48
+ py3{8,9,10,11,12 }-mypy: -rmypy-requirements.txt
49
49
50
50
setenv =
51
- py{36,37,38,39,310,311 }-unit: LC_ALL = C.UTF-8
51
+ py3{6,8,3,10,11,12 }-unit: LC_ALL = C.UTF-8
52
52
COV_CORE_SOURCE =cwltest
53
53
COV_CORE_CONFIG ={toxinidir}/.coveragerc
54
54
COV_CORE_DATAFILE ={toxinidir}/.coverage.eager
55
55
56
56
57
57
commands =
58
- py{36,37,38,39,310,311 }-unit: python -m pip install -U pip setuptools wheel
59
- py{36,37,38,39,310,311 }-unit: python -m pytest --cov --cov-config ={toxinidir}/.coveragerc --cov-append {posargs}
60
- py{36,37,38,39,310,311 }-unit: coverage xml
61
- py{36,37,38,39,310,311 }-bandit: bandit --recursive cwltest
62
- py{36,37,38,39,310,311 }-lint: make flake8
63
- py{36,37,38,39,310,311 }-lint: make format-check
64
- py{37,38,39,310,311 }-mypy: make mypy
65
- py37 -mypy: make mypy_3.6
58
+ py3{6,8,9,10,11,12 }-unit: python -m pip install -U pip setuptools wheel
59
+ py3{6,8,9,10,11,12 }-unit: python -m pytest --cov --cov-config ={toxinidir}/.coveragerc --cov-append {posargs}
60
+ py3{6,8,9,10,11,12 }-unit: coverage xml
61
+ py3{6,8,9,10,11,12 }-bandit: bandit --recursive cwltest
62
+ py3{6,8,9,10,11,12 }-lint: make flake8
63
+ py3{6,8,9,10,11,12 }-lint: make format-check
64
+ py3{8,9,10,11,12 }-mypy: make mypy
65
+ py38 -mypy: make mypy_3.6
66
66
67
67
allowlist_externals =
68
- py{36,37,38,39,310,311 }-lint: flake8
69
- py{36,37,38,39,310,311 }-lint: black
70
- py{36,37,38,39,310,311 }-{mypy,shellcheck,lint,unit}: make
68
+ py3{6,8,9,10,11,12 }-lint: flake8
69
+ py3{6,8,9,10,11,12 }-lint: black
70
+ py3{6,8,9,10,11,12 }-{mypy,shellcheck,lint,unit}: make
71
71
72
72
skip_install =
73
- py{36,37,38,39,310,311 }-lint: true
74
- py{36,37,38,39,310,311 }-bandit: true
73
+ py3{6,8,9,10,11,12 }-lint: true
74
+ py3{6,8,9,10,11,12 }-bandit: true
75
75
76
76
77
- [testenv:py310 -pydocstyle]
77
+ [testenv:py311 -pydocstyle]
78
78
allowlist_externals = make
79
79
commands = make diff_pydocstyle_report
80
80
deps =
81
81
pydocstyle
82
82
diff-cover
83
83
skip_install = true
84
84
85
- [testenv:py310 -lintreadme]
85
+ [testenv:py311 -lintreadme]
86
86
description = Lint the README.rst->.md conversion
87
87
commands =
88
88
python -m build --outdir {distdir}
0 commit comments