From 8623d08a22b0f51b62a6a0e0584d2f8d36500827 Mon Sep 17 00:00:00 2001 From: xhzhf Date: Wed, 4 Jan 2017 19:40:08 +0800 Subject: [PATCH] H305 and H307 hacking have been deprecated H305 and H307 hacking have been removed since hacking 0.10. https://github.com/openstack-dev/hacking/blob/master/setup.cfg test-requirements of monasca-ui require hacking >=0.12.0,<0.13. So remove H305/H307 ignore statement Closes-Bug: #1653596 Change-Id: I5090d1560254b31044e9ab4b72d44da0da6d785f --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 7051ca1c..4ba4475f 100644 --- a/tox.ini +++ b/tox.ini @@ -32,9 +32,7 @@ exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_templ # H102 Apache 2.0 license header not found # H238 old style class declaration, use new style # H301 one import per line -# H305 imports not grouped correctly # H306 imports not in alphabetical order -# H307 like imports should be grouped together # H405 multi line docstring summary not separated with an empty line # H904 Wrap long lines in parentheses instead of a backslash -ignore = E127,E128,E501,H102,H238,H301,H305,H306,H307,H405,H904 +ignore = E127,E128,E501,H102,H238,H301,H306,H405,H904