diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 24 |
1 files changed, 17 insertions, 7 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py27,py34,py35,pypy26,pep8 +envlist = py27,py34,py35,pypy26,pycodestyle [testenv] deps = @@ -30,15 +30,25 @@ commands = {[testenv]commands} {[testenv:scenario]commands} -[testenv:pep8] +[testenv:pycodestyle] deps = -U --no-cache-dir - pep8 + pycodestyle commands = - pep8 + pycodestyle -[pep8] -exclude = pbr-*,.venv,.tox,.git,doc,dist,tools,vcsversion.py,.pyc,ryu/contrib,dictconfig.py -ignore = E113,E116,E402,E711,E731,E501,W503 +[pycodestyle] +exclude = pbr-*,.venv,.tox,.git,doc,dist,tools,vcsversion.py,.pyc,ryu/contrib +# W503: line break occurred before a binary operator +# E116: unexpected indentation (comment) +# E402: module level import not at top of file +# E501: line too long (>79 characters) +# E722: do not use bare except, specify exception instead +# E731: do not assign a lambda expression, use a def +# E741: do not use variables named 'l', 'O', or 'I' +ignore = W503,E116,E402,E501,E722,E731,E741 +[pep8] +exclude = pbr-*,.venv,.tox,.git,doc,dist,tools,vcsversion.py,.pyc,ryu/contrib +ignore = W503,E116,E402,E501,E722,E731,E741 |