diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py26,py27 +envlist = py26,py27,pep8 [testenv] setenv = VIRTUAL_ENV={envdir} @@ -18,8 +18,19 @@ commands = nosetests -v --exe --with-xunit --with-coverage --cover-package glust [tox:jenkins] downloadcache = ~/cache/pip +[testenv:pep8] +changedir = {toxinidir} +commands = + flake8 gluster test + [testenv:cover] setenv = NOSE_WITH_COVERAGE=1 [testenv:venv] commands = {posargs} + +[flake8] +ignore = H +builtins = _ +exclude = .venv,.tox,dist,doc,test,*egg +show-source = True |