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}-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 }-mypy,
6
6
py3{8,9,10,11,12}-memleak,
7
- py312- lintreadme,
8
- py312- pydocstyle
7
+ lintreadme,
8
+ pydocstyle
9
9
10
10
skip_missing_interpreters = True
11
11
@@ -20,59 +20,62 @@ python =
20
20
3.10: py310
21
21
3.11: py311
22
22
3.12: py312
23
+ 3.13: py313
23
24
24
25
[testenv]
25
26
description =
26
- py3{8,9,10,11,12}-unit: Run the unit tests
27
- py3{8,9,10,11,12}-lint: Lint the Python code and search for common security issues
28
- py3{8,9,10,11,12}-mypy: Check for type safety
27
+ py3{8,9,10,11,12,13 }-unit: Run the unit tests
28
+ py3{8,9,10,11,12,13 }-lint: Lint the Python code and search for common security issues
29
+ py3{8,9,10,11,12,13 }-mypy: Check for type safety
29
30
py3{8,9,10,11,12}-memleak: Simple test for memory leaks with mypyc
30
- py312- pydocstyle: docstring style checker
31
- py312- lintreadme: Lint the README.rst->.md conversion
31
+ pydocstyle: docstring style checker
32
+ lintreadme: Lint the README.rst->.md conversion
32
33
33
34
passenv =
34
35
CI
35
36
GITHUB_*
36
37
deps =
37
- py3{8,9,10,11,12}-{unit,mypy}: -rrequirements.txt
38
- py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
39
- py3{8,9,10,11,12}-lint: -rlint-requirements.txt
40
- py3{8,9,10,11,12}-{mypy,memleak,lint}: -rmypy-requirements.txt
41
- py3{8,9,10,11,12}-memleak: cwl-utils
42
- py3{8,9,10,11,12}-memleak: objgraph
38
+ py3{8,9,10,11,12,13 }-{unit,mypy}: -rrequirements.txt
39
+ py3{8,9,10,11,12,13 }-{unit,mypy}: -rtest-requirements.txt
40
+ py3{8,9,10,11,12,13 }-lint: -rlint-requirements.txt
41
+ py3{8,9,10,11,12,13 }-{mypy,memleak,lint}: -rmypy-requirements.txt
42
+ py3{8,9,10,11,12,13 }-memleak: cwl-utils
43
+ py3{8,9,10,11,12,13 }-memleak: objgraph
43
44
# don't forget to update dev-requirements.txt as well
44
45
45
46
setenv =
46
- py3{8,9,10,11,12}-unit: LC_ALL = C.UTF-8
47
+ py3{8,9,10,11,12,13 }-unit: LC_ALL = C.UTF-8
47
48
48
49
commands =
49
- py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
50
- py3{8,9,10,11,12}-unit: make --always-make coverage-report coverage.xml PYTEST_EXTRA =" {posargs}"
51
- py3{8,9,10,11,12}-lint: make bandit flake8 format-check diff_pylint_report diff_pydocstyle_report
52
- py3{8,9,10,11,12}-mypy: make mypy mypyc
53
- py3{8,9,10,11,12}-memleak: make mypyi
54
- py3{8,9,10,11,12}-memleak: python schema_salad/tests/memory-leak-check.py schema_salad/tests/test_real_cwl/ICGC-TCGA-PanCancer/complete/preprocess_vcf.cwl
50
+ py3{8,9,10,11,12,13}-unit: python -m pip install -U pip setuptools wheel
51
+ py3{8,9,10,11,12,13}-unit: make --always-make coverage-report coverage.xml PYTEST_EXTRA =" {posargs}"
52
+ py3{8,9,10,11,12,13}-lint: make bandit flake8 format-check diff_pylint_report diff_pydocstyle_report
53
+ py3{8,9,10,11,12,13}-mypy: make mypy
54
+ py3{8,9,10,11,12}-mypy: make mypyc
55
+ py3{8,9,10,11,12,13}-memleak: make mypyi
56
+ py3{8,9,10,11,12,13}-memleak: python schema_salad/tests/memory-leak-check.py schema_salad/tests/test_real_cwl/ICGC-TCGA-PanCancer/complete/preprocess_vcf.cwl
55
57
56
58
allowlist_externals =
57
- py3{8,9,10,11,12}-lint: flake8
58
- py3{8,9,10,11,12}-lint: black
59
- py3{8,9,10,11,12}-{mypy,memleak,shellcheck,lint,lintreadme,unit}: make
59
+ py3{8,9,10,11,12,13}-lint: flake8
60
+ py3{8,9,10,11,12,13}-lint: black
61
+ py3{8,9,10,11,12,13}-{mypy,memleak,shellcheck,lint,unit}: make
62
+ lintreadme: make
60
63
61
64
skip_install =
62
- py3{8,9,10,11,12}-lint: true
65
+ py3{8,9,10,11,12,13 }-lint: true
63
66
64
67
extras =
65
- py3{8,9,10,11,12}-unit: pycodegen
68
+ py3{8,9,10,11,12,13 }-unit: pycodegen
66
69
67
- [testenv:py312- pydocstyle]
70
+ [testenv:pydocstyle]
68
71
allowlist_externals = make
69
72
commands = make diff_pydocstyle_report
70
73
deps =
71
74
pydocstyle
72
75
diff-cover
73
76
skip_install = true
74
77
75
- [testenv:py312- lintreadme]
78
+ [testenv:lintreadme]
76
79
description = Lint the README.rst->.md conversion
77
80
commands =
78
81
make clean dist
0 commit comments