From: Eric Harney Date: Thu, 19 Nov 2015 21:48:27 +0000 (-0500) Subject: Don't build two tox envs for pep8(-constraints) X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7bb16f75012a1d64f878c285ea0894da340d402c;p=openstack-build%2Fcinder-build.git 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 --- 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]