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
This commit is contained in:
Dougal Matthews 2017-04-26 17:26:12 +01:00
parent b55f5a90bb
commit a4a8e96a97
1 changed files with 1 additions and 0 deletions

View File

@ -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