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: If129b56be47952d018b9f6024d2a192950c1a974
This commit is contained in:
yangyawei 2021-06-04 15:10:14 +08:00
parent 15ad4c2b7a
commit 3e589edd90
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
ignore_basepython_conflict = true
@ -36,7 +36,7 @@ commands =
commands = {posargs}
[testenv:docs]
whitelist_externals = rm
allowlist_externals = rm
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
@ -105,7 +105,7 @@ extension =
paths = ./oslo_messaging/hacking
[testenv:releasenotes]
whitelist_externals = rm
allowlist_externals = rm
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html