1
1
[tox]
2
2
envlist =
3
- py{36,37,38,39,310}-lint,
4
- py{36,37,38,39,310}-unit,
5
- py{37,38,39,310}-bandit,
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
6
py{36,37,38,39,310}-mypy,
7
- py39 -lintreadme,
8
- py39 -pydocstyle
7
+ py310 -lintreadme,
8
+ py310 -pydocstyle
9
9
10
10
skip_missing_interpreters = True
11
11
@@ -20,60 +20,61 @@ python =
20
20
3.8: py38
21
21
3.9: py39
22
22
3.10: py310
23
+ 3.11: py311
23
24
24
25
[testenv]
25
26
description =
26
- py{36,37,38,39,310}-unit: Run the unit tests
27
- py{36,37,38,39,310}-lint: Lint the Python code
28
- py{37,38,39,310}-bandit: Search for common security issues
27
+ py{36,37,38,39,310,311 }-unit: Run the unit tests
28
+ py{36,37,38,39,310,311 }-lint: Lint the Python code
29
+ py{37,38,39,310,311 }-bandit: Search for common security issues
29
30
py{36,37,38,39,310}-mypy: Check for type safety
30
- py39 -pydocstyle: docstring style checker
31
- py39 -lintreadme: Lint the README.rst->.md conversion
31
+ py310 -pydocstyle: docstring style checker
32
+ py310 -lintreadme: Lint the README.rst->.md conversion
32
33
33
34
passenv =
34
35
CI
35
36
GITHUB_*
36
37
deps =
37
- py{36,37,38,39,310}-{unit,mypy}: -rrequirements.txt
38
- py{36,37,38,39,310}-{unit,mypy}: -rtest-requirements.txt
39
- py{36,37,38,39,310}-lint: flake8-bugbear
40
- py{36,37,38,39,310}-lint: black
41
- py{37,38,39,310}-bandit: bandit
38
+ py{36,37,38,39,310,311 }-{unit,mypy}: -rrequirements.txt
39
+ py{36,37,38,39,310,311 }-{unit,mypy}: -rtest-requirements.txt
40
+ py{36,37,38,39,310,311 }-lint: flake8-bugbear
41
+ py{36,37,38,39,310,311 }-lint: black
42
+ py{37,38,39,310,311 }-bandit: bandit
42
43
py{36,37,38,39,310}-mypy: -rmypy-requirements.txt
43
44
44
45
setenv =
45
- py{36,37,38,39,310}-unit: LC_ALL = C.UTF-8
46
+ py{36,37,38,39,310,311 }-unit: LC_ALL = C.UTF-8
46
47
47
48
commands =
48
- py{36,37,38,39,310}-unit: python -m pip install -U pip setuptools wheel
49
- py{36,37,38,39,310}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
50
- py{37,38,39,310}-bandit: bandit --recursive --exclude schema_salad/tests/ schema_salad
51
- py{36,37,38,39,310}-lint: make flake8
52
- py{36,37,38,39,310}-lint: make format-check
49
+ py{36,37,38,39,310,311 }-unit: python -m pip install -U pip setuptools wheel
50
+ py{36,37,38,39,310,311 }-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
51
+ py{37,38,39,310,311 }-bandit: bandit --recursive --exclude schema_salad/tests/ schema_salad
52
+ py{36,37,38,39,310,311 }-lint: make flake8
53
+ py{36,37,38,39,310,311 }-lint: make format-check
53
54
py{36,37,38,39,310}-mypy: make mypy
54
55
py{36,37,38,39,310}-mypy: make mypyc
55
56
56
57
whitelist_externals =
57
- py{36,37,38,39,310}-lint: flake8
58
- py{36,37,38,39,310}-lint: black
59
- py{36,37,38,39,310}-{mypy,shellcheck,lint,unit}: make
58
+ py{36,37,38,39,310,311 }-lint: flake8
59
+ py{36,37,38,39,310,311 }-lint: black
60
+ py{36,37,38,39,310,311 }-{mypy,shellcheck,lint,unit}: make
60
61
61
62
skip_install =
62
- py{36,37,38,39,310}-lint: true
63
- py{37,38,39,310}-bandit: true
63
+ py{36,37,38,39,310,311 }-lint: true
64
+ py{37,38,39,310,311 }-bandit: true
64
65
65
66
extras =
66
- py{36,37,38,39,310}-unit: pycodegen
67
+ py{36,37,38,39,310,311 }-unit: pycodegen
67
68
68
- [testenv:py39 -pydocstyle]
69
+ [testenv:py310 -pydocstyle]
69
70
whitelist_externals = make
70
71
commands = make diff_pydocstyle_report
71
72
deps =
72
73
pydocstyle
73
74
diff-cover
74
75
skip_install = true
75
76
76
- [testenv:py39 -lintreadme]
77
+ [testenv:py310 -lintreadme]
77
78
description = Lint the README.rst->.md conversion
78
79
commands =
79
80
python setup.py sdist
0 commit comments