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: I28abab34878d3c62a88be8894107f994d02c1c4f
This commit is contained in:
yangyawei 2021-06-04 15:40:40 +08:00
parent 0bc8a2e70f
commit fa5f76e559
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[tox]
minversion = 3.1
minversion = 3.18.0
envlist = py3,pep8,docs
ignore_basepython_conflict = true
@ -25,7 +25,7 @@ commands =
commands = {posargs}
[testenv:docs]
whitelist_externals =
allowlist_externals =
rm
deps =
{[testenv]deps}
@ -56,7 +56,7 @@ import_exceptions = oslo_policy._i18n
[testenv:releasenotes]
deps = -r{toxinidir}/doc/requirements.txt
whitelist_externals =
allowlist_externals =
rm
commands =
rm -rf releasenotes/build