Fix tox4 errors

Change-Id: I75c4c2d892ba4d8b2d96a6dc845e3091c821a774
This commit is contained in:
silvacarloss 2023-01-02 16:33:35 -03:00 committed by Goutham Pacha Ravi
parent 4408ec4f7c
commit be18072005
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,5 @@
[tox]
minversion = 3.18.0
skipsdist = True
envlist = py3,pep8
# Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
@ -41,6 +40,10 @@ commands = reno new {posargs}
commands = oslo_debug_helper {posargs}
[testenv:pep8]
allowlist_externals =
{toxinidir}/tools/check_exec.py
{toxinidir}/tools/check_logging.sh
# Let's gate pep8 under py3 by default because the py3 checks are stricter.
commands =
flake8 {posargs}
@ -110,6 +113,8 @@ usedevelop = False
setenv =
{[testenv]setenv}
PYTHON=coverage run --source manila --parallel-mode
allowlist_externals =
{toxinidir}/tools/cover.sh
commands =
{toxinidir}/tools/cover.sh {posargs}