1
1
[tox]
2
2
envlist =
3
- py{36,37,38}-lint,
4
- py{36,37,38}-unit,
5
- py{36,37,38}-bandit,
3
+ py{36,37,38,39 }-lint,
4
+ py{36,37,38,39 }-unit,
5
+ py{36,37,38,39 }-bandit,
6
6
py{36,37,38}-mypy,
7
7
py38-lint-readme,
8
8
py38-pydocstyle
@@ -15,12 +15,13 @@ python =
15
15
3.6: py36
16
16
3.7: py37
17
17
3.8: py38
18
+ 3.9: py39
18
19
19
20
[testenv]
20
21
description =
21
- py{36,37,38}-unit: Run the unit tests
22
- py{36,37,38}-lint: Lint the Python code
23
- py{36,37,38}-bandit: Search for common security issues
22
+ py{36,37,38,39 }-unit: Run the unit tests
23
+ py{36,37,38,39 }-lint: Lint the Python code
24
+ py{36,37,38,39 }-bandit: Search for common security issues
24
25
py{36,37,38}-mypy: Check for type safety
25
26
26
27
passenv =
@@ -30,36 +31,36 @@ passenv =
30
31
PROOT_NO_SECCOMP
31
32
deps =
32
33
-rrequirements.txt
33
- py{36,37,38}-unit: codecov
34
- py{36,37,38}-unit: pytest-xdist
35
- py{36,37,38}-unit: pytest-cov
36
- py{36,37,38}-{unit,mypy}: -rtest-requirements.txt
37
- py{36,37,38}-unit: galaxy-tool-util
38
- py{36,37,38}-lint: flake8-bugbear
39
- py{36,37,38}-lint: black
40
- py{36,37,38}-bandit: bandit
34
+ py{36,37,38,39 }-unit: codecov
35
+ py{36,37,38,39 }-unit: pytest-xdist
36
+ py{36,37,38,39 }-unit: pytest-cov
37
+ py{36,37,38,39 }-{unit,mypy}: -rtest-requirements.txt
38
+ py{36,37,38,39 }-unit: galaxy-tool-util
39
+ py{36,37,38,39 }-lint: flake8-bugbear
40
+ py{36,37,38,39 }-lint: black
41
+ py{36,37,38,39 }-bandit: bandit
41
42
py{36,37,38}-mypy: mypy ==0.780
42
43
43
44
setenv =
44
- py{36,37,38}-unit: LC_ALL = C
45
+ py{36,37,38,39 }-unit: LC_ALL = C
45
46
46
47
commands =
47
- py{36,37,38}-unit: python3 -m pip install -U pip setuptools wheel
48
- py{36,37,38}-unit: python3 -m pip install -e .[deps]
49
- py{36,37,38}-unit: python3 -m pip install -rtest-requirements.txt
50
- py{36,37,38}-unit: coverage run --parallel-mode -m pytest --strict {posargs}
51
- py{36,37,38}-unit: coverage combine
52
- py{36,37,38}-unit: coverage report
53
- py{36,37,38}-unit: coverage xml
54
- py{36,37,38}-unit: codecov --file coverage.xml
55
- py{36,37,38}-bandit: bandit -r cwltool
56
- py{36,37,38}-lint: flake8 cwltool setup.py
48
+ py{36,37,38,39 }-unit: python3 -m pip install -U pip setuptools wheel
49
+ py{36,37,38,39 }-unit: python3 -m pip install -e .[deps]
50
+ py{36,37,38,39 }-unit: python3 -m pip install -rtest-requirements.txt
51
+ py{36,37,38,39 }-unit: coverage run --parallel-mode -m pytest --strict {posargs}
52
+ py{36,37,38,39 }-unit: coverage combine
53
+ py{36,37,38,39 }-unit: coverage report
54
+ py{36,37,38,39 }-unit: coverage xml
55
+ py{36,37,38,39 }-unit: codecov --file coverage.xml
56
+ py{36,37,38,39 }-bandit: bandit -r cwltool
57
+ py{36,37,38,39 }-lint: flake8 cwltool setup.py
57
58
py{36,37,38}-mypy: make mypy
58
59
py{36,37,38}-mypy: make mypyc
59
60
60
61
whitelist_externals =
61
- py{36,37,38}-lint: flake8
62
- py{36,37,38}-lint: black
62
+ py{36,37,38,39 }-lint: flake8
63
+ py{36,37,38,39 }-lint: black
63
64
py{36,37,38}-mypy: make
64
65
65
66
[testenv:py38-pydocstyle]
0 commit comments