aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorwu.chunyang <wuchunyang@yovole.com>2021-05-18 19:52:33 +0800
committerMark Goddard <mark@stackhpc.com>2021-05-25 09:43:01 +0000
commit13965f40c740d8bee696b3f847190d75a19b062c (patch)
tree650596c9c91b9f2a0aa4aca4cdc87b29a2d6b864 /tox.ini
parent66e9a6464d7b0e1695a3b9a1ea9cdd59f291e1ff (diff)
downloadkolla-ansible-13965f40c740d8bee696b3f847190d75a19b062c.tar.gz
kolla-ansible-13965f40c740d8bee696b3f847190d75a19b062c.zip
tox: Add find command to allowlist_externals list
whitelist_externals is deprecated now, use allowlist_externals instead. see[0] Add find command to allowlist_externals list to fix a warning.[1] [0]: https://tox.readthedocs.io/en/latest/config.html [1]: https://zuul.opendev.org/t/openstack/build/9ac7f205080343f29d7e2b519abbdb73/log/job-output.txt#945 Change-Id: I67e9c892a945d04eff59427a0161aafceb136560
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 5 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 0b1932289..d741e408f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.1
+minversion = 3.18
skipsdist = True
envlist = py38,linters
ignore_basepython_conflict = True
@@ -7,7 +7,7 @@ ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
-whitelist_externals = find
+allowlist_externals = find
rm
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
@@ -59,7 +59,7 @@ commands =
sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html
[testenv:pdf-docs]
-whitelist_externals = make
+allowlist_externals = make
deps = {[testenv:docs]deps}
commands =
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
@@ -81,7 +81,8 @@ deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/doc/requirements.txt
-whitelist_externals = bash
+allowlist_externals = bash
+ find
commands =
{[testenv:pep8]commands}
{[testenv:doc8]commands}