|
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{9,10,11,12}-lint, |
| 4 | + py3{9,10,11,12}-unit, |
| 5 | + py3{9,10,11,12}-bandit, |
| 6 | + py3{9,10,11,12}-mypy, |
7 | 7 | py312-lintreadme, |
8 | 8 | py312-pydocstyle |
9 | 9 | isolated_build = True |
10 | 10 | skip_missing_interpreters = True |
11 | 11 |
|
12 | 12 | [gh-actions] |
13 | 13 | python = |
14 | | - 3.8: py38 |
15 | 14 | 3.9: py39 |
16 | 15 | 3.10: py310 |
17 | 16 | 3.11: py311 |
18 | 17 | 3.12: py312 |
19 | 18 |
|
20 | 19 | [testenv] |
21 | 20 | description = |
22 | | - py3{8,9,10,11,12}-unit: Run the unit tests |
23 | | - py3{8,9,10,11,12}-lint: Lint the Python code |
24 | | - py3{8,9,10,11,12}-bandit: Search for common security issues |
25 | | - py3{8,9,10,11,12}-mypy: Check for type safety |
| 21 | + py3{9,10,11,12}-unit: Run the unit tests |
| 22 | + py3{9,10,11,12}-lint: Lint the Python code |
| 23 | + py3{9,10,11,12}-bandit: Search for common security issues |
| 24 | + py3{9,10,11,12}-mypy: Check for type safety |
26 | 25 | py312-pydocstyle: docstring style checker |
27 | 26 | py312-lintreadme: Lint the README.rst->.md conversion |
28 | 27 |
|
29 | 28 | passenv = |
30 | 29 | CI |
31 | 30 | GITHUB_* |
32 | 31 | deps = |
33 | | - py3{8,9,10,11,12}-mypy: -rmypy-requirements.txt |
34 | | - py3{8,9,10,11,12}-{unit,mypy}: -rrequirements.txt |
35 | | - py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt |
36 | | - py3{8,9,10,11,12}-lint: -rlint-requirements.txt |
37 | | - py3{8,9,10,11,12}-bandit: bandit |
| 32 | + py3{9,10,11,12}-mypy: -rmypy-requirements.txt |
| 33 | + py3{9,10,11,12}-{unit,mypy}: -rrequirements.txt |
| 34 | + py3{9,10,11,12}-{unit,mypy}: -rtest-requirements.txt |
| 35 | + py3{9,10,11,12}-lint: -rlint-requirements.txt |
| 36 | + py3{9,10,11,12}-bandit: bandit |
38 | 37 |
|
39 | 38 | setenv = |
40 | | - py3{8,9,10,11,12}-unit: LC_ALL = C.UTF-8 |
| 39 | + py3{9,10,11,12}-unit: LC_ALL = C.UTF-8 |
41 | 40 |
|
42 | 41 | commands = |
43 | | - py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel |
44 | | - py3{8,9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs} |
45 | | - py3{8,9,10,11,12}-bandit: bandit --recursive wes_client wes_service |
46 | | - py3{8,9,10,11,12}-lint: make flake8 |
47 | | - py3{8,9,10,11,12}-lint: make format-check |
48 | | - py3{8,9,10,11,12}-mypy: make mypy |
| 42 | + py3{9,10,11,12}-unit: python -m pip install -U pip setuptools wheel |
| 43 | + py3{9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs} |
| 44 | + py3{9,10,11,12}-bandit: bandit --recursive wes_client wes_service |
| 45 | + py3{9,10,11,12}-lint: make flake8 |
| 46 | + py3{9,10,11,12}-lint: make format-check |
| 47 | + py3{9,10,11,12}-mypy: make mypy |
49 | 48 |
|
50 | 49 | allowlist_externals = |
51 | | - py3{8,9,10,11,12}-lint: flake8 |
52 | | - py3{8,9,10,11,12}-lint: black |
53 | | - py3{8,9,10,11,12}-{mypy,memleak,shellcheck,lint,lintreadme,unit}: make |
| 50 | + py3{9,10,11,12}-lint: flake8 |
| 51 | + py3{9,10,11,12}-lint: black |
| 52 | + py3{9,10,11,12}-{mypy,memleak,shellcheck,lint,lintreadme,unit}: make |
54 | 53 |
|
55 | 54 | skip_install = |
56 | | - py3{8,9,10,11,12}-lint: true |
57 | | - py3{8,9,10,11,12}-bandit: true |
| 55 | + py3{9,10,11,12}-lint: true |
| 56 | + py3{9,10,11,12}-bandit: true |
58 | 57 |
|
59 | 58 | extras = |
60 | | - py3{8,9,10,11,12}-unit: toil |
| 59 | + py3{9,10,11,12}-unit: toil |
61 | 60 |
|
62 | 61 | [testenv:py312-pydocstyle] |
63 | 62 | allowlist_externals = make |
|
0 commit comments