summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuehuiLei <leiyuehui@inspur.com>2021-06-04 16:40:26 +0800
committerDaniel Bengtsson <dbengt@redhat.com>2021-06-22 11:56:09 +0200
commitbd3ead2b5eaac6f944b27949ebfa1eb765a8508c (patch)
tree04f248888c2991a01ec301a4eefe1d1026dcdcb0
parente26d400008c383f5d31c70e674259c902254f3d5 (diff)
downloadoslo-db-bd3ead2b5eaac6f944b27949ebfa1eb765a8508c.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: I86c077215e3256a050d22b00e89d240ef7dbcbff
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 25788bc..3cf52ad 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,11 @@
[tox]
-minversion = 3.1
+minversion = 3.18.0
envlist = py3,pep8
ignore_basepython_conflict = true
[testenv]
basepython = python3
-whitelist_externals =
+allowlist_externals =
env
passenv =
OS_TEST_DBAPI_ADMIN_CONNECTION
@@ -41,7 +41,7 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
-whitelist_externals =
+allowlist_externals =
rm
deps =
{[testenv]deps}
@@ -52,7 +52,7 @@ commands =
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:releasenotes]
-whitelist_externals =
+allowlist_externals =
rm
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}