From 40459e1dc9775adc882620177bff326b464be605 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Wed, 14 Dec 2022 14:40:01 +0000 Subject: [PATCH] Fix failing zuul jobs due to tox showconfig As part of how we nest the tox.ini files in STX, the environments in the sub directories need to also be defined in the tox.ini in the base file. The issue in our tox files was exposed by this commit https://review.opendev.org/c/zuul/zuul-jobs/+/866935 Partial-Bug: #1997255 Signed-off-by: Al Bailey Change-Id: I526066015b90dc0637968defbc3648b310a27d44 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 11be6f8..f419bf7 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,10 @@ commands = {posargs} basepython = python3 description = Dummy environment to allow flake8 to be run in subdir tox +[testenv:pep8_Debian] +basepython = python3 +description = Dummy environment to allow pep8 to be run in subdir tox + [testenv:pep8] basepython = python3 description = Dummy environment to allow pep8 to be run in subdir tox @@ -40,6 +44,10 @@ description = Dummy environment to allow pep8 to be run in subdir tox basepython = python3 description = Dummy environment to allow pylint to be run in subdir tox +[testenv:pylint_Debian] +basepython = python3 +description = Dummy environment to allow pylint to be run in subdir tox + [testenv:linters] basepython = python3 whitelist_externals = bash