From 7bb16f75012a1d64f878c285ea0894da340d402c Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 19 Nov 2015 16:48:27 -0500 Subject: [PATCH] Don't build two tox envs for pep8(-constraints) Currently, "tox -e pep8" builds two tox envs: a "pep8" env, and then a "venv" env for genopts. This is rather wasteful -- reuse the pep8 env instead. Change-Id: I8ba3d4e541f279e5bc62dba2b1caaac447fee7e3 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b657bb034..f331f68ac 100644 --- a/tox.ini +++ b/tox.ini @@ -92,12 +92,12 @@ commands = {[testenv:cover]commands} [testenv:genconfig] sitepackages = False -envdir = {toxworkdir}/venv +envdir = {toxworkdir}/pep8 commands = {toxinidir}/tools/config/generate_sample.sh from_tox [testenv:genopts] sitepackages = False -envdir = {toxworkdir}/venv +envdir = {toxworkdir}/pep8 commands = {toxinidir}/tools/config/generate_sample.sh from_tox --nosamplefile [testenv:venv] -- 2.45.2