Update min version of tox

This patch bumps the minimum version of tox to 3.18.0 [1].
Additionally fix the argument such as "whitelist_externals"
which is deprecated, it replaces whitelist_externals by
allowlist_externals option [1].

[1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I80b180a433636d1ac70546535f1d3762f828cb13
This commit is contained in:
Manpreet Kaur 2021-05-10 16:44:43 +05:30
parent 8a810e50b8
commit 565b195415
1 changed files with 2 additions and 2 deletions

View File

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