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: I003623b16d045635af3d83e886ee9c2db46056ea
This commit is contained in:
tushargite96 2021-03-17 12:39:28 +05:30
parent 14f3506822
commit 2d21f45ebd

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 3.1.1 minversion = 3.18.0
envlist = docs,pep8 envlist = docs,pep8
skipsdist = True skipsdist = True
ignore_basepython_conflict = True ignore_basepython_conflict = True
@ -12,7 +12,7 @@ setenv =
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
[testenv:docs] [testenv:docs]
whitelist_externals = rm allowlist_externals = rm
commands = commands =
rm -fr doc/build rm -fr doc/build
sphinx-build -W -b html doc/source doc/build/html sphinx-build -W -b html doc/source doc/build/html