From 287e03ab5855b4238da07f99c784cef5d8bf1a6c Mon Sep 17 00:00:00 2001 From: Kieran Spear Date: Wed, 9 Oct 2013 16:21:22 +1100 Subject: [PATCH] Run flake8 tests automatically on ./run_tests.sh And add a -P option to disable it. Change-Id: Ie0039217c82acbd9c9071da27027f57263b39f25 Closes-bug: #1237202 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 45dd5114..e468417e 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ setenv = VIRTUAL_ENV={envdir} NOSE_OPENSTACK_SHOW_ELAPSED=1 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = /bin/bash run_tests.sh -N +commands = /bin/bash run_tests.sh -N --no-pep8 [testenv:pep8] commands = /bin/bash run_tests.sh -N --pep8 @@ -19,12 +19,12 @@ commands = /bin/bash run_tests.sh -N --pep8 commands = {posargs} [testenv:cover] -commands = /bin/bash run_tests.sh -N --coverage +commands = /bin/bash run_tests.sh -N --no-pep8 --coverage [testenv:py27dj14] basepython = python2.7 commands = pip install django==1.4 - /bin/bash run_tests.sh -N + /bin/bash run_tests.sh -N --no-pep8 [tox:jenkins] downloadcache = ~/cache/pip