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[1] by allowlist_externals option.
[1]
[tox]
-minversion = 3.1
+minversion = 3.18.0
envlist = pep8,py27,py37,docs
ignore_basepython_conflict = True
@@ -24,7 +24,7 @@ commands = stestr run --suppress-attachments {posargs}
commands = pre-commit run -a
[testenv:docs]
-whitelist_externals = rm
+allowlist_externals = rm
deps =
-r{toxinidir}/doc/requirements.txt
commands =
@@ -33,7 +33,7 @@ commands =
sphinx-build -W -b html doc/source doc/build/html {posargs}
[testenv:releasenotes]
-whitelist_externals = rm
+allowlist_externals = rm
deps = {[testenv:docs]deps}
commands =
rm -rf releasenotes/build
