summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangyawei <yangyawei@inspur.com>2021-06-04 15:40:40 +0800
committeryangyawei <yangyawei@inspur.com>2021-06-07 16:41:34 +0800
commitfa5f76e55910040f9132bd19940ceee1307ff303 (patch)
tree7a6f60e32e7e707628e73872281ff36c3b582d07
parent0bc8a2e70faaf8600a44c6e7e366d2296adc128b (diff)
downloadoslo-policy-fa5f76e55910040f9132bd19940ceee1307ff303.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: I28abab34878d3c62a88be8894107f994d02c1c4f
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 9e89ac6..4889a54 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.1
+minversion = 3.18.0
envlist = py3,pep8,docs
ignore_basepython_conflict = true
@@ -25,7 +25,7 @@ commands =
commands = {posargs}
[testenv:docs]
-whitelist_externals =
+allowlist_externals =
rm
deps =
{[testenv]deps}
@@ -56,7 +56,7 @@ import_exceptions = oslo_policy._i18n
[testenv:releasenotes]
deps = -r{toxinidir}/doc/requirements.txt
-whitelist_externals =
+allowlist_externals =
rm
commands =
rm -rf releasenotes/build