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
This commit is contained in:
xhzhf 2017-01-04 19:40:08 +08:00
parent 0cd115d1e1
commit 8623d08a22
1 changed files with 1 additions and 3 deletions

View File

@ -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