From f8b913ef199e75143b85023d2d1329bf2d0d4ed4 Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Wed, 5 Mar 2014 10:09:06 +0100 Subject: [PATCH] Ignore H302 as other TripleO projects Ignore H302 "Do not import objects, only modules" rule. This is in accordance with other TripleO projects and will allow e.g. importing the translation function `_`. Change-Id: I5c27d77334a1e75318302d6330cf1a0c670a940a --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 167b013..f5b2753 100644 --- a/tox.ini +++ b/tox.ini @@ -22,10 +22,11 @@ commands = {posargs} commands = python setup.py testr --coverage --testr-args='{posargs}' [flake8] +# H302 skipped on purpose per IRC discussion involving other TripleO projects. # H803 skipped on purpose per list discussion. # E123, E125 skipped as they are invalid PEP-8. show-source = True -ignore = E123,E125,H803 +ignore = E123,E125,H302,H803 builtins = _ -exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build \ No newline at end of file +exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build