From: Angus Salkeld Date: Tue, 11 Jun 2013 03:05:51 +0000 (+1000) Subject: Add descriptions of the pep8 checks X-Git-Tag: 2014.1~501^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ba40d0efb4149b39282e502991fd44cb96b6f486;p=openstack-build%2Fheat-build.git Add descriptions of the pep8 checks Change-Id: Ida2be020b8ed7ea047e11c4b8fa2f5154a444977 --- diff --git a/tox.ini b/tox.ini index fe0a4351..7450f514 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,15 @@ commands = [flake8] ignore = F403,F841,H201,H302,H303,H306,H404,H702,H703 +# F403 'from sqlalchemy import *' used; unable to detect undefined names +# F841 local variable 'json_template' is assigned to but never used +# H201 no 'except:' at least use 'except Exception:' +# H302 import only modules.'bla..' does not import a module +# H303 No wildcard (*) import. +# H306 imports not in alphabetical order +# H404 multi line docstring should start with a summary +# H702 Formatting operation should be outside of localization method call +# H703 Multiple positional placeholders show-source = true builtins = _ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,build