From 901b448b54e4fe9e7194aea30c4ca74305a1c124 Mon Sep 17 00:00:00 2001 From: donagh-mccabe Date: Fri, 4 Nov 2016 10:49:42 +0000 Subject: [PATCH] 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 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 044cb345..317c04c4 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,7 @@ commands = nosetests -w tests/ -e tests_to_fix [testenv:pep8] +basepython = python2.7 commands = flake8 [testenv:venv]