1
1
[tox]
2
2
envlist =
3
- py3{8,9,10,11,12}-lint
4
- py3{8,9,10,11,12}-unit
5
- py3{8,9,10,11,12}-bandit
6
- py3{8,9,10,11,12}-mypy
3
+ py3{8,9,10,11,12,13 }-lint
4
+ py3{8,9,10,11,12,13 }-unit
5
+ py3{8,9,10,11,12,13 }-bandit
6
+ py3{8,9,10,11,12,13 }-mypy
7
7
py312-lintreadme
8
8
py312-shellcheck
9
9
py312-pydocstyle
@@ -21,16 +21,17 @@ python =
21
21
3.10: py310
22
22
3.11: py311
23
23
3.12: py312
24
+ 3.13: py313
24
25
25
26
[testenv]
26
27
skipsdist =
27
- py3{8,9,10,11,12}-!{unit,mypy,lintreadme} = True
28
+ py3{8,9,10,11,12,13 }-!{unit,mypy,lintreadme} = True
28
29
29
30
description =
30
- py3{8,9,10,11,12}-unit: Run the unit tests
31
- py3{8,9,10,11,12}-lint: Lint the Python code
32
- py3{8,9,10,11,12}-bandit: Search for common security issues
33
- py3{8,9,10,11,12}-mypy: Check for type safety
31
+ py3{8,9,10,11,12,13 }-unit: Run the unit tests
32
+ py3{8,9,10,11,12,13 }-lint: Lint the Python code
33
+ py3{8,9,10,11,12,13 }-bandit: Search for common security issues
34
+ py3{8,9,10,11,12,13 }-mypy: Check for type safety
34
35
py312-pydocstyle: docstring style checker
35
36
py312-shellcheck: syntax check for shell scripts
36
37
py312-lintreadme: Lint the README.rst→.md conversion
@@ -43,14 +44,14 @@ passenv =
43
44
SINGULARITY_FAKEROOT
44
45
45
46
extras =
46
- py3{8,9,10,11,12}-unit: deps
47
+ py3{8,9,10,11,12,13 }-unit: deps
47
48
48
49
deps =
49
- py3{8,9,10,11,12}-{unit,lint,bandit,mypy}: -rrequirements.txt
50
- py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
51
- py3{8,9,10,11,12}-lint: -rlint-requirements.txt
52
- py3{8,9,10,11,12}-bandit: bandit
53
- py3{8,9,10,11,12}-mypy: -rmypy-requirements.txt
50
+ py3{8,9,10,11,12,13 }-{unit,lint,bandit,mypy}: -rrequirements.txt
51
+ py3{8,9,10,11,12,13 }-{unit,mypy}: -rtest-requirements.txt
52
+ py3{8,9,10,11,12,13 }-lint: -rlint-requirements.txt
53
+ py3{8,9,10,11,12,13 }-bandit: bandit
54
+ py3{8,9,10,11,12,13 }-mypy: -rmypy-requirements.txt
54
55
py312-pydocstyle: pydocstyle
55
56
py312-pydocstyle: diff-cover
56
57
py312-lintreadme: twine
@@ -62,19 +63,20 @@ setenv =
62
63
HOME = {envtmpdir}
63
64
64
65
commands_pre =
65
- py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
66
+ py3{8,9,10,11,12,13 }-unit: python -m pip install -U pip setuptools wheel
66
67
py312-lintreadme: python -m build --outdir {distdir}
67
68
68
69
commands =
69
- py3{8,9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
70
- py3{8,9,10,11,12}-bandit: bandit -r cwltool
71
- py3{8,9,10,11,12}-lint: make flake8 format-check codespell-check
72
- py3{8,9,10,11,12}-mypy: make mypy mypyc PYTEST_EXTRA ={posargs}
70
+ py3{8,9,10,11,12,13}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
71
+ py3{8,9,10,11,12,13}-bandit: bandit -r cwltool
72
+ py3{8,9,10,11,12,13}-lint: make flake8 format-check codespell-check
73
+ py3{8,9,10,11,12,13}-mypy: make mypy PYTEST_EXTRA ={posargs}
74
+ py3{8,9,10,11,12}-mypy: make mypyc PYTEST_EXTRA ={posargs}
73
75
py312-shellcheck: make shellcheck
74
76
py312-pydocstyle: make diff_pydocstyle_report
75
77
py312-lintreadme: twine check {distdir}/*
76
78
77
79
skip_install =
78
- py3{8,9,10,11,12}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
80
+ py3{8,9,10,11,12,13 }-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
79
81
80
82
allowlist_externals = make
0 commit comments