From 2bbf1492079d7f30aa3e6dfb88a1e9037412c230 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 21 May 2017 10:42:48 +0200 Subject: Check style when running tox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Idedf823a1572c40692e445694461b4196b75275d Signed-off-by: Cédric Ollivier --- tox.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index d7da122af..88d720c8c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27 +envlist = pep8,py27 [testenv] deps = @@ -12,3 +12,9 @@ commands = nosetests --with-xunit \ --cover-xml \ --cover-html \ functest/tests/unit + +[testenv:pep8] +basepython = python2.7 +deps = + {[testenv]deps} +commands = flake8 -- cgit 1.2.3-korg