1
1
[tox]
2
2
envlist =
3
- py3{7,8,9,10}-lint
4
- py3{7,8,9,10}-unit
5
- py3{7,8,9,10}-bandit
6
- py3{7,8,9,10}-mypy
3
+ py3{6, 7,8,9,10}-lint
4
+ py3{6, 7,8,9,10}-unit
5
+ py3{6, 7,8,9,10}-bandit
6
+ py3{6, 7,8,9,10}-mypy
7
7
py39-lintreadme
8
8
py39-shellcheck
9
9
py39-pydocstyle
@@ -16,20 +16,21 @@ testpaths = tests
16
16
17
17
[gh-actions]
18
18
python =
19
+ 3.6: py36
19
20
3.7: py37
20
21
3.8: py38
21
22
3.9: py39
22
23
3.10: py310
23
24
24
25
[testenv]
25
26
skipsdist =
26
- py3{7,8,9,10}-!{unit,mypy,lintreadme} = True
27
+ py3{6, 7,8,9,10}-!{unit,mypy,lintreadme} = True
27
28
28
29
description =
29
- py3{7,8,9,10}-unit: Run the unit tests
30
- py3{7,8,9,10}-lint: Lint the Python code
31
- py3{7,8,9,10}-bandit: Search for common security issues
32
- py3{7,8,9,10}-mypy: Check for type safety
30
+ py3{6, 7,8,9,10}-unit: Run the unit tests
31
+ py3{6, 7,8,9,10}-lint: Lint the Python code
32
+ py3{6, 7,8,9,10}-bandit: Search for common security issues
33
+ py3{6, 7,8,9,10}-mypy: Check for type safety
33
34
py39-pydocstyle: docstring style checker
34
35
py39-shellcheck: syntax check for shell scripts
35
36
py39-lintreadme: Lint the README.rst→.md conversion
@@ -40,39 +41,39 @@ passenv =
40
41
PROOT_NO_SECCOMP
41
42
42
43
extras =
43
- py3{7,8,9,10}-unit: deps
44
+ py3{6, 7,8,9,10}-unit: deps
44
45
45
46
deps =
46
- py3{7,8,9,10}-{unit,lint,bandit,mypy}: -rrequirements.txt
47
- py3{7,8,9,10}-{unit,mypy}: -rtest-requirements.txt
48
- py3{7,8,9,10}-lint: -rlint-requirements.txt
49
- py3{7,8,9,10}-bandit: bandit
50
- py3{7,8,9,10}-bandit: importlib_metadata != 4.8.0
51
- py3{7,8,9,10}-mypy: -rmypy-requirements.txt
47
+ py3{6, 7,8,9,10}-{unit,lint,bandit,mypy}: -rrequirements.txt
48
+ py3{6, 7,8,9,10}-{unit,mypy}: -rtest-requirements.txt
49
+ py3{6, 7,8,9,10}-lint: -rlint-requirements.txt
50
+ py3{6, 7,8,9,10}-bandit: bandit
51
+ py3{6, 7,8,9,10}-bandit: importlib_metadata != 4.8.0
52
+ py3{6, 7,8,9,10}-mypy: -rmypy-requirements.txt
52
53
py39-pydocstyle: pydocstyle
53
54
py39-pydocstyle: diff-cover
54
55
py39-lintreadme: twine
55
56
py39-lintreadme: wheel
56
57
py39-lintreadme: readme_renderer[md]
57
58
58
59
setenv =
59
- py3{7,8,9,10}-unit: LC_ALL = C.UTF-8
60
+ py3{6, 7,8,9,10}-unit: LC_ALL = C.UTF-8
60
61
61
62
commands_pre =
62
- py3{7,8,9,10}-unit: python -m pip install -U pip setuptools wheel
63
+ py3{6, 7,8,9,10}-unit: python -m pip install -U pip setuptools wheel
63
64
py39-lintreadme: python setup.py sdist --dist-dir {distdir}
64
65
py39-lintreadme: python setup.py bdist_wheel --dist-dir {distdir}
65
66
66
67
commands =
67
- py3{7,8,9,10}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
68
- py3{7,8,9,10}-bandit: bandit -r cwltool
69
- py3{7,8,9,10}-lint: make flake8 format-check
70
- py3{7,8,9,10}-mypy: make mypy mypyc PYTEST_EXTRA ={posargs}
68
+ py3{6, 7,8,9,10}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
69
+ py3{6, 7,8,9,10}-bandit: bandit -r cwltool
70
+ py3{6, 7,8,9,10}-lint: make flake8 format-check
71
+ py3{6, 7,8,9,10}-mypy: make mypy mypyc PYTEST_EXTRA ={posargs}
71
72
py39-shellcheck: make shellcheck
72
73
py39-pydocstyle: make diff_pydocstyle_report
73
74
py39-lintreadme: twine check {distdir}/*
74
75
75
76
skip_install =
76
- py3{7,8,9,10}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
77
+ py3{6, 7,8,9,10}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
77
78
78
79
allowlist_externals = make
0 commit comments