From ba40d0efb4149b39282e502991fd44cb96b6f486 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Tue, 11 Jun 2013 13:05:51 +1000 Subject: [PATCH] Add descriptions of the pep8 checks Change-Id: Ida2be020b8ed7ea047e11c4b8fa2f5154a444977 --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.45.2