]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Add descriptions of the pep8 checks
authorAngus Salkeld <asalkeld@redhat.com>
Tue, 11 Jun 2013 03:05:51 +0000 (13:05 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Tue, 11 Jun 2013 11:26:08 +0000 (21:26 +1000)
Change-Id: Ida2be020b8ed7ea047e11c4b8fa2f5154a444977

tox.ini

diff --git a/tox.ini b/tox.ini
index fe0a43515246d8e63fe59e9ceae9df5b4001f04a..7450f514468346ffa952974516f4eb0f5671d754 100644 (file)
--- 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