Merge "Bump tox minversion to 3.18.0"
This commit is contained in:
commit
3a5429ab1a
12
tox.ini
12
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.5.0
|
minversion = 3.18.0
|
||||||
envlist = py3,pep8
|
envlist = py3,pep8
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
@ -7,7 +7,7 @@ ignore_basepython_conflict = True
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
find
|
find
|
||||||
rm
|
rm
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
|
@ -30,7 +30,7 @@ commands = flake8
|
||||||
# Run security linter
|
# Run security linter
|
||||||
{[testenv:bandit]commands}
|
{[testenv:bandit]commands}
|
||||||
{toxinidir}/tools/coding-checks.sh --pylint {posargs}
|
{toxinidir}/tools/coding-checks.sh --pylint {posargs}
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
sh
|
sh
|
||||||
find
|
find
|
||||||
bash
|
bash
|
||||||
|
@ -42,7 +42,7 @@ commands = {posargs}
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv]setenv}
|
{[testenv]setenv}
|
||||||
PYTHON=coverage run --source octaviaclient --parallel-mode
|
PYTHON=coverage run --source octaviaclient --parallel-mode
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
find
|
find
|
||||||
commands =
|
commands =
|
||||||
find octaviaclient -type f -name "*.pyc" -delete
|
find octaviaclient -type f -name "*.pyc" -delete
|
||||||
|
@ -63,7 +63,7 @@ commands =
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
make
|
make
|
||||||
rm
|
rm
|
||||||
commands =
|
commands =
|
||||||
|
@ -133,7 +133,7 @@ paths =
|
||||||
[testenv:requirements]
|
[testenv:requirements]
|
||||||
deps =
|
deps =
|
||||||
-egit+https://opendev.org/openstack/requirements#egg=openstack-requirements
|
-egit+https://opendev.org/openstack/requirements#egg=openstack-requirements
|
||||||
whitelist_externals = sh
|
allowlist_externals = sh
|
||||||
commands =
|
commands =
|
||||||
sh -c '{envdir}/src/openstack-requirements/playbooks/files/project-requirements-change.py --req {envdir}/src/openstack-requirements --local {toxinidir} master'
|
sh -c '{envdir}/src/openstack-requirements/playbooks/files/project-requirements-change.py --req {envdir}/src/openstack-requirements --local {toxinidir} master'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue