11[tox]
22envlist =
3- py{36, 37,38,39,310}-lint,
4- py{36, 37,38,39,310}-unit,
5- py{36, 37,38,39,310}-bandit,
6- py{36, 37,38,39,310}-mypy,
3+ py{37,38,39,310}-lint,
4+ py{37,38,39,310}-unit,
5+ py{37,38,39,310}-bandit,
6+ py{37,38,39,310}-mypy,
77 py39-lintreadme,
88 py39-pydocstyle
99
@@ -15,55 +15,54 @@ testpaths=schema_salad/tests
1515
1616[gh-actions]
1717python =
18- 3.6: py36
1918 3.7: py37
2019 3.8: py38
2120 3.9: py39
2221 3.10: py310
2322
2423[testenv]
2524description =
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{36, 37,38,39,310}-bandit: Search for common security issues
29- py{36, 37,38,39,310}-mypy: Check for type safety
25+ py{37,38,39,310}-unit: Run the unit tests
26+ py{37,38,39,310}-lint: Lint the Python code
27+ py{37,38,39,310}-bandit: Search for common security issues
28+ py{37,38,39,310}-mypy: Check for type safety
3029 py39-pydocstyle: docstring style checker
3130 py39-lintreadme: Lint the README.rst->.md conversion
3231
3332passenv =
3433 CI
3534 GITHUB_*
3635deps =
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{36, 37,38,39,310}-bandit: bandit
42- py{36, 37,38,39,310}-mypy: -rmypy-requirements.txt
36+ py{37,38,39,310}-{unit,mypy}: -rrequirements.txt
37+ py{37,38,39,310}-{unit,mypy}: -rtest-requirements.txt
38+ py{37,38,39,310}-lint: flake8-bugbear
39+ py{37,38,39,310}-lint: black
40+ py{37,38,39,310}-bandit: bandit
41+ py{37,38,39,310}-mypy: -rmypy-requirements.txt
4342
4443setenv =
45- py{36, 37,38,39,310}-unit: LC_ALL = C.UTF-8
44+ py{37,38,39,310}-unit: LC_ALL = C.UTF-8
4645
4746commands =
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{36, 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
53- py{36, 37,38,39,310}-mypy: make mypy
54- py{36, 37,38,39,310}-mypy: make mypyc
47+ py{37,38,39,310}-unit: python -m pip install -U pip setuptools wheel
48+ py{37,38,39,310}-unit: make coverage-report coverage.xml PYTEST_EXTRA ={posargs}
49+ py{37,38,39,310}-bandit: bandit --recursive --exclude schema_salad/tests/ schema_salad
50+ py{37,38,39,310}-lint: make flake8
51+ py{37,38,39,310}-lint: make format-check
52+ py{37,38,39,310}-mypy: make mypy
53+ py{37,38,39,310}-mypy: make mypyc
5554
5655whitelist_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
56+ py{37,38,39,310}-lint: flake8
57+ py{37,38,39,310}-lint: black
58+ py{37,38,39,310}-{mypy,shellcheck,lint,unit}: make
6059
6160skip_install =
62- py{36, 37,38,39,310}-lint: true
63- py{36, 37,38,39,310}-bandit: true
61+ py{37,38,39,310}-lint: true
62+ py{37,38,39,310}-bandit: true
6463
6564extras =
66- py{36, 37,38,39,310}-unit: pycodegen
65+ py{37,38,39,310}-unit: pycodegen
6766
6867[testenv:py39-pydocstyle]
6968whitelist_externals = make
0 commit comments