summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangyawei <yangyawei@inspur.com>2021-06-04 15:10:14 +0800
committeryangyawei <yangyawei@inspur.com>2021-06-07 16:58:52 +0800
commit3e589edd902a3bb4a1f313ca877314e52f1b0520 (patch)
tree31eb784d8e9d9cb6b13f50258e44504b72293295
parent15ad4c2b7a19bd334a79aab6f2bb0e0be29bf371 (diff)
downloadoslo-messaging-3e589edd902a3bb4a1f313ca877314e52f1b0520.tar.gz
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 by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: If129b56be47952d018b9f6024d2a192950c1a974
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 6533c0d..4c8fc9b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.1
+minversion = 3.18.0
envlist = py3,pep8
ignore_basepython_conflict = true
@@ -36,7 +36,7 @@ commands =
commands = {posargs}
[testenv:docs]
-whitelist_externals = rm
+allowlist_externals = rm
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
@@ -105,7 +105,7 @@ extension =
paths = ./oslo_messaging/hacking
[testenv:releasenotes]
-whitelist_externals = rm
+allowlist_externals = rm
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html