From a4a8e96a97fd1f49f5773930ca9d78f054b43c0e Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Wed, 26 Apr 2017 17:26:12 +0100 Subject: [PATCH] Force Python 2 for pep8 linting It will otherwise fail with errors in the tempest tests, as they are not Python 3 compatible. Change-Id: I1a023cc58672de2b51da8d30ad621e67d6a93093 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 94f2f1348..b65ef99bb 100644 --- a/tox.ini +++ b/tox.ini @@ -29,6 +29,7 @@ passenv = ZUUL_PROJECT commands = ./run_tests.sh -N --db-type mysql [testenv:pep8] +basepython = python2.7 commands = flake8 {posargs} . {toxinidir}/tools/get_action_list.py {toxinidir}/tools/sync_db.py check-uuid --package mistral_tempest_tests