Changed minversion in tox to 3.18.0

The patch bumps min version of tox to 3.18.0 python 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: I4bc8f70dd208e39c41d68bb82cf54ccaea9f6ebf
This commit is contained in:
Anand Bhat 2021-05-06 23:30:09 +05:30
parent 098abdc9ee
commit c6de661939
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 1.6 minversion = 3.18.0
skipsdist = True skipsdist = True
envlist = bashate envlist = bashate
@ -9,7 +9,7 @@ install_command = pip install {opts} {packages}
[testenv:bashate] [testenv:bashate]
deps = bashate deps = bashate
whitelist_externals = bash allowlist_externals = bash
commands = bash -c "find {toxinidir} \ commands = bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \ -not \( -type d -name .?\* -prune \) \
-not \( -type d -name doc -prune \) \ -not \( -type d -name doc -prune \) \
@ -31,11 +31,11 @@ deps =
commands = commands =
rm -rf doc/build rm -rf doc/build
sphinx-build -W -b html doc/source doc/build/html sphinx-build -W -b html doc/source doc/build/html
whitelist_externals = rm allowlist_externals = rm
[testenv:pdf-docs] [testenv:pdf-docs]
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = allowlist_externals =
make make
commands = commands =
sphinx-build -W -b latex doc/source doc/build/pdf sphinx-build -W -b latex doc/source doc/build/pdf