Removing Deprecated hacking Check

H402 hacking check have been removed since hacking 0.10
https://github.com/openstack-dev/hacking/blob/master/setup.cfg.

Change-Id: I10fa23d92b1f1bd35d5f334c03633a8f0d70ee4c
This commit is contained in:
Janonymous 2017-01-27 03:31:58 +03:00
parent e255f1440c
commit d1eaf2f914

View File

@ -46,9 +46,6 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
# E265 block comment should start with '# '
# reason: no improvement in readability
#
# H402 one line docstring needs punctuation
# reason: removed in hacking (https://review.openstack.org/#/c/101497/)
#
# H803 git commit title should not end with period
# reason: removed in hacking (https://review.openstack.org/#/c/101498/)
#
@ -61,7 +58,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
# ignored on purpose for the moment and should be re-enabled.
show-source = True
ignore = E123,E125,E126,E127,E128,E251,E265,H302,H402,H405,H803,H904,H404
ignore = E123,E125,E126,E127,E128,E251,E265,H302,H405,H803,H904,H404
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
max-complexity=30