H402 hacking have been deprecated

H402 hacking have been removed since hacking 0.10.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg
test-requirements of kuryr-libnetwork require hacking <0.11,>=0.10.0.
So remove H402 ignore statement
Closes-Bug: #1654117

Change-Id: I72c8321c62692d86c8a4b1b3b705440d97d124ef
This commit is contained in:
xhzhf 2017-01-04 18:11:47 +08:00
parent 401eb3744b
commit 99ac3b09a8

View File

@ -56,9 +56,8 @@ commands = python setup.py build_sphinx
# E128 continuation line under-indented for visual indent # E128 continuation line under-indented for visual indent
# E129 visually indented line with same indent as next logical line # E129 visually indented line with same indent as next logical line
# E265 block comment should start with '# ' # E265 block comment should start with '# '
# H402 one line docstring needs punctuation
# N530 direct neutron imports not allowed # N530 direct neutron imports not allowed
ignore = E125,E126,E128,E129,E265,H301,H402,N530 ignore = E125,E126,E128,E129,E265,H301,N530
show-source = true show-source = true
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios