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:
parent
97e7a60f42
commit
479a2954a1
6
tox.ini
6
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.1
|
minversion = 3.18.0
|
||||||
envlist = pep8,py27,py37,docs
|
envlist = pep8,py27,py37,docs
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ commands = stestr run --suppress-attachments {posargs}
|
|||||||
commands = pre-commit run -a
|
commands = pre-commit run -a
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
whitelist_externals = rm
|
allowlist_externals = rm
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
@ -33,7 +33,7 @@ commands =
|
|||||||
sphinx-build -W -b html doc/source doc/build/html {posargs}
|
sphinx-build -W -b html doc/source doc/build/html {posargs}
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
whitelist_externals = rm
|
allowlist_externals = rm
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
commands =
|
commands =
|
||||||
rm -rf releasenotes/build
|
rm -rf releasenotes/build
|
||||||
|
Loading…
Reference in New Issue
Block a user