1
1
[tox]
2
2
envlist =
3
- py{36,37,38,39,310,311 }-lint,
4
- py{36,37,38,39,310,311 }-unit,
5
- py{37,38,39,310,311 }-bandit,
6
- py{37,38,39,310,311 }-mypy,
7
- py{37,38,39,310,311 }-memleak,
8
- py310 -lintreadme,
9
- py310 -pydocstyle
3
+ py3{6,8,9,10,11,12 }-lint,
4
+ py3{6,8,9,10,11,12 }-unit,
5
+ py3{8,9,10,11,12 }-bandit,
6
+ py3{8,9,10,11,12 }-mypy,
7
+ py3{8,9,10,11,12 }-memleak,
8
+ py311 -lintreadme,
9
+ py311 -pydocstyle
10
10
11
11
skip_missing_interpreters = True
12
12
@@ -17,72 +17,72 @@ testpaths=schema_salad/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
description =
28
- py{36,37,38,39,310,311 }-unit: Run the unit tests
29
- py{36,37,38,39,310,311 }-lint: Lint the Python code
30
- py{37,38,39,310,311 }-bandit: Search for common security issues
31
- py{37,38,39,310,311 }-mypy: Check for type safety
32
- py{37,38,39,310,311 }-memleak: Simple test for memory leaks with mypyc
33
- py310 -pydocstyle: docstring style checker
34
- py310 -lintreadme: Lint the README.rst->.md conversion
28
+ py3{6,8,9,10,11,12 }-unit: Run the unit tests
29
+ py3{6,8,9,10,11,12 }-lint: Lint the Python code
30
+ py3{8,9,10,11,12 }-bandit: Search for common security issues
31
+ py3{8,9,10,11,12 }-mypy: Check for type safety
32
+ py3{8,9,10,11,12 }-memleak: Simple test for memory leaks with mypyc
33
+ py311 -pydocstyle: docstring style checker
34
+ py311 -lintreadme: Lint the README.rst->.md conversion
35
35
36
36
passenv =
37
37
CI
38
38
GITHUB_*
39
39
deps =
40
- py{36,37,38,39,310,311 }-{unit,mypy}: -rrequirements.txt
41
- py{36,37,38,39,310,311 }-{unit,mypy}: -rtest-requirements.txt
42
- py{36,37,38,39,310,311 }-lint: flake8-bugbear < 22.13
43
- py{36,37,38,39,310,311 }-lint: black
44
- py{37,38,39,310,311 }-bandit: bandit < 1.8
45
- py{37,38,39,310,311 }-{mypy,memleak}: -rmypy-requirements.txt
46
- py{37,38,39,310,311 }-memleak: cwl-utils
47
- py{37,38,39,310,311 }-memleak: objgraph
40
+ py3{6,8,9,10,11,12 }-{unit,mypy}: -rrequirements.txt
41
+ py3{6,8,9,10,11,12 }-{unit,mypy}: -rtest-requirements.txt
42
+ py3{6,8,9,10,11,12 }-lint: flake8-bugbear < 22.13
43
+ py3{6,8,9,10,11,12 }-lint: black
44
+ py3{8,9,10,11,12 }-bandit: bandit < 1.8
45
+ py3{8,9,10,11,12 }-{mypy,memleak}: -rmypy-requirements.txt
46
+ py3{8,9,10,11,12 }-memleak: cwl-utils
47
+ py3{8,9,10,11,12 }-memleak: objgraph
48
48
# don't forget to update dev-requirements.txt as well
49
49
50
50
setenv =
51
- py{36,37,38,39,310,311 }-unit: LC_ALL = C.UTF-8
51
+ py3{6,8,9,10,11,12 }-unit: LC_ALL = C.UTF-8
52
52
53
53
commands =
54
- py{36,37,38,39,310,311 }-unit: python -m pip install -U pip setuptools wheel
55
- py{36,37,38,39,310,311 }-unit: make --always-make coverage-report coverage.xml PYTEST_EXTRA =" {posargs}"
56
- py{37,38,39,310,311 }-bandit: bandit --recursive --exclude schema_salad/tests/ schema_salad
57
- py{36,37,38,39,310,311 }-lint: make flake8
58
- py{36,37,38,39,310,311 }-lint: make format-check
59
- py{37,38,39,310,311 }-mypy: make mypy
60
- py{37,38,39,310,311 }-mypy: make mypyc
61
- py{37,38,39,310,311 }-memleak: make mypyi
62
- py{37,38,39,310,311 }-memleak: python schema_salad/tests/memory-leak-check.py schema_salad/tests/test_real_cwl/ICGC-TCGA-PanCancer/preprocess_vcf.cwl
63
- py37 -mypy: make mypy_3.6
54
+ py3{6,8,9,10,11,12 }-unit: python -m pip install -U pip setuptools wheel
55
+ py3{6,8,9,10,11,12 }-unit: make --always-make coverage-report coverage.xml PYTEST_EXTRA =" {posargs}"
56
+ py3{8,9,10,11,12 }-bandit: bandit --recursive --exclude schema_salad/tests/ schema_salad
57
+ py3{6,8,9,10,11,12 }-lint: make flake8
58
+ py3{6,8,9,10,11,12 }-lint: make format-check
59
+ py3{8,9,10,11,12 }-mypy: make mypy
60
+ py3{8,9,10,11,12 }-mypy: make mypyc
61
+ py3{8,9,10,11,12 }-memleak: make mypyi
62
+ py3{8,9,10,11,12 }-memleak: python schema_salad/tests/memory-leak-check.py schema_salad/tests/test_real_cwl/ICGC-TCGA-PanCancer/preprocess_vcf.cwl
63
+ py38 -mypy: make mypy_3.6
64
64
65
65
allowlist_externals =
66
- py{36,37,38,39,310,311 }-lint: flake8
67
- py{36,37,38,39,310,311 }-lint: black
68
- py{36,37,38,39,310,311 }-{mypy,memleak,shellcheck,lint,lintreadme,unit}: make
66
+ py3{6,8,9,10,11,12 }-lint: flake8
67
+ py3{6,8,9,10,11,12 }-lint: black
68
+ py3{6,8,9,10,11,12 }-{mypy,memleak,shellcheck,lint,lintreadme,unit}: make
69
69
70
70
skip_install =
71
- py{36,37,38,39,310,311 }-lint: true
72
- py{37,38,39,310,311 }-bandit: true
71
+ py3{6,8,9,10,11,12 }-lint: true
72
+ py3{8,9,10,11,12 }-bandit: true
73
73
74
74
extras =
75
- py{36,37,38,39,310,311 }-unit: pycodegen
75
+ py3{6,8,9,10,11,12 }-unit: pycodegen
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
make clean dist
0 commit comments