Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I9a356f9847dd125174b9b055c8514c805f772526
This commit is contained in:
parent
cba5123fe0
commit
a7e82df0e6
10
tox.ini
10
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
minversion = 2.0
|
||||
minversion = 3.18.0
|
||||
envlist = pep8,py3
|
||||
ignore_basepython_conflict = true
|
||||
|
||||
@ -14,7 +14,7 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
||||
Allowlist_externals =
|
||||
allowlist_externals =
|
||||
find
|
||||
/bin/bash
|
||||
|
||||
@ -43,8 +43,10 @@ commands =
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
|
||||
[testenv:debug]
|
||||
Allowlist_externals = oslo_debug_helper
|
||||
commands = oslo_debug_helper -t mistraldashboard/test {posargs}
|
||||
allowlist_externals =
|
||||
oslo_debug_helper
|
||||
commands =
|
||||
oslo_debug_helper -t mistraldashboard/test {posargs}
|
||||
|
||||
[flake8]
|
||||
show-source = True
|
||||
|
Loading…
Reference in New Issue
Block a user