From 94f509675022c02895e729bbaaeefaa2d28e18c2 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Thu, 16 Jul 2015 11:15:30 +0800 Subject: [PATCH] Remove H302,H402,H904 These rules were removed from hacking 0.10.x. Change-Id: I0f6c47c1c87103e85195fac3ed910638d35aaf33 --- tox.ini | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 5300b232c3..6d8c0e2742 100644 --- a/tox.ini +++ b/tox.ini @@ -69,12 +69,9 @@ commands = python setup.py build_sphinx # TODO(dmllr): Analyze or fix the warnings blacklisted below # E711 comparison to None should be 'if cond is not None:' # E712 comparison to True should be 'if cond is True:' or 'if cond:' -# H302 import only modules -# H402 one line docstring needs punctuation. # H404 multi line docstring should start with a summary # H405 multi line docstring summary not separated with an empty line -# H904 Wrap long lines in parentheses instead of a backslash -ignore = E711,E712,H302,H402,H404,H405,H904 +ignore = E711,E712,H404,H405 exclude = .venv,.git,.tox,dist,doc,etc,*glance/locale*,*openstack/common*,*lib/python*,*egg,build [hacking]