tox.ini (solum-9.0.0) | : | tox.ini (solum-10.0.0) | ||
---|---|---|---|---|
[tox] | [tox] | |||
minversion = 2.0 | minversion = 2.0 | |||
envlist = py38,py36,pep8 | envlist = py38,py36,pep8 | |||
skipsdist = True | skipsdist = True | |||
ignore_basepython_conflict = True | ignore_basepython_conflict = True | |||
[testenv] | [testenv] | |||
basepython = python3 | basepython = python3 | |||
usedevelop = True | usedevelop = True | |||
install_command = | ||||
pip install {opts} {packages} | ||||
setenv = | setenv = | |||
VIRTUAL_ENV={envdir} | VIRTUAL_ENV={envdir} | |||
deps = | deps = | |||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ master} | -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ master} | |||
-r{toxinidir}/requirements.txt | -r{toxinidir}/requirements.txt | |||
-r{toxinidir}/test-requirements.txt | -r{toxinidir}/test-requirements.txt | |||
whitelist_externals = find | whitelist_externals = find | |||
rm | rm | |||
commands = | commands = | |||
find . -type f -name "*.pyc" -delete | find . -type f -name "*.pyc" -delete | |||
skipping to change at line 89 | skipping to change at line 91 | |||
[hacking] | [hacking] | |||
import_exceptions = solum.i18n | import_exceptions = solum.i18n | |||
[flake8:local-plugins] | [flake8:local-plugins] | |||
extension = | extension = | |||
M322 = checks:no_mutable_default_args | M322 = checks:no_mutable_default_args | |||
paths = ./solum/hacking | paths = ./solum/hacking | |||
[testenv:lower-constraints] | [testenv:lower-constraints] | |||
skip_install = True | ||||
commands = | ||||
python -m pip install --no-deps -U . | ||||
stestr run {posargs} | ||||
deps = | deps = | |||
-c{toxinidir}/lower-constraints.txt | -c{toxinidir}/lower-constraints.txt | |||
-r{toxinidir}/test-requirements.txt | -r{toxinidir}/test-requirements.txt | |||
-r{toxinidir}/requirements.txt | -r{toxinidir}/requirements.txt | |||
[testenv:bandit] | [testenv:bandit] | |||
deps = -r{toxinidir}/test-requirements.txt | deps = -r{toxinidir}/test-requirements.txt | |||
commands = bandit -r solum -n5 -x tests -ll | commands = bandit -r solum -n5 -x tests -ll | |||
[testenv:bandit-baseline] | [testenv:bandit-baseline] | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added |