Fix tox.ini with tox4

skipsdist setting breaks the docs environment

Change-Id: I778226115c587875e0db995b2641af74a2854015
This commit is contained in:
sunxifa 2023-01-01 14:42:57 +08:00 committed by Erik Olof Gunnar Andersson
parent 681b5de6b5
commit 98e079f0d3
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
[tox]
envlist = py3,pep8,releasenotes
minversion = 3.1.1
skipsdist = True
ignore_basepython_conflict = True
[testenv]
@ -17,7 +16,7 @@ deps =
commands =
find . -type f -name "*.py[c|o]" -delete
stestr run --slowest {posargs}
whitelist_externals = find
allowlist_externals = find
[testenv:bandit]
deps = -r{toxinidir}/test-requirements.txt
@ -28,7 +27,7 @@ commands =
flake8
# Check that .po and .pot files are valid:
bash -c "find senlinclient -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 --no-run-if-empty msgfmt --check-format -o /dev/null"
whitelist_externals = bash
allowlist_externals = bash
[testenv:venv]
commands = {posargs}