From: Alfredo Deza Date: Thu, 26 Sep 2013 15:49:51 +0000 (-0400) Subject: add flake8 checks to teuthology X-Git-Tag: 1.1.0~1850^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fb5c3681b133357e8fb189f3cd99d74af5a3d1bf;p=teuthology.git add flake8 checks to teuthology Signed-off-by: Alfredo Deza (cherry picked from commit 27c9eb8f81dc25c7b50bfb77d4d2d4ab4d136fb6) (cherry picked from commit b390d68ff4b7a648da3f22bd5ae34651d02fd915) --- diff --git a/tox.ini b/tox.ini index 85fe016f0..f9ea1ce5d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] -envlist = py27 +envlist = py27, flake8 -[testenv] +[testenv:py27] sitepackages=True deps= -r{toxinidir}/requirements.txt @@ -11,3 +11,8 @@ deps= nose commands=py.test -v {posargs:teuthology} + +[testenv:flake8] +deps= + flake8 +commands=flake8 --select=F {posargs:teuthology}