Fix comments style according to the Hacking Rules

According to the PEP8(E265) there should be at least
one space before block comment.

Change-Id: Ic51f80210becc375b30f0f4e9eeb54995775c817
Partial-Bug: #1407162
This commit is contained in:
Yuriy Nesenenko
2015-02-11 13:19:40 +02:00
parent 2501bf5191
commit 84afca21fd
53 changed files with 139 additions and 149 deletions

View File

@@ -55,9 +55,6 @@ commands = python setup.py build_sphinx
# E251 unexpected spaces around keyword / parameter equals
# reason: no improvement in readability
#
# 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/)
#
@@ -73,7 +70,7 @@ commands = python setup.py build_sphinx
# H302,H405
ignore = E251,E265,H302,H402,H405,H803,H904
ignore = E251,H302,H402,H405,H803,H904
exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build
max-complexity=30