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] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I7ee77638d44ee314cdfa6f6d9320b19d794b718c
This commit is contained in:
Daniel Bengtsson 2022-02-16 12:03:38 +01:00
parent 97e7a60f42
commit 479a2954a1

View File

@ -1,5 +1,5 @@
[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