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