diff --git a/tox.ini b/tox.ini index 50f850aa..ef69accd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,8 @@ [tox] minversion = 3.2.0 envlist = py3,pep8,bandit -ignore_basepython_conflict = true [testenv] -basepython = python3 setenv = VIRTUAL_ENV={envdir} BRANCH_NAME=master @@ -14,7 +12,7 @@ deps = -r{toxinidir}/doc/requirements.txt -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -whitelist_externals = find +allowlist_externals = find commands = find . -type f -name "*.py[co]" -delete stestr run --slowest {posargs} @@ -29,7 +27,7 @@ commands = commands = {posargs} [testenv:docs] -whitelist_externals = +allowlist_externals = rm commands = rm -rf doc/build @@ -60,7 +58,7 @@ deps = commands = bandit -r oslo_service -n5 -x tests {posargs} [testenv:releasenotes] -whitelist_externals = +allowlist_externals = rm commands = rm -rf releasenotes/build