Make pep8 use py27

On freshly installed Ubuntu Xenial, tox -e pep8 failed:
    Supervisor requires Python 2.4 or later but does not work
    on any version of Python 3

Not sure what causes tox to create the venv using py3, but this
patch forces it to do the right thing.

Change-Id: Iac8ced2b86f32276fcf98506bca8969c5fd0bdd4
This commit is contained in:
donagh-mccabe 2016-11-04 10:49:42 +00:00
parent 5d21cd224c
commit 901b448b54
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ commands =
nosetests -w tests/ -e tests_to_fix
[testenv:pep8]
basepython = python2.7
commands = flake8
[testenv:venv]