Enable hacking rule E265

E265 is block comment should start with '# '

Closes-Bug: #1391787

Change-Id: I8f0e142bd14fd201da3b8c39501f9d858a5b051b
This commit is contained in:
jiangfei 2014-11-12 18:21:43 +08:00
parent 902a8a4b70
commit 276e919dc5
2 changed files with 2 additions and 3 deletions

View File

@ -409,7 +409,7 @@ def mkfs(fs, path, label=None):
args = ['mkswap']
else:
args = ['mkfs', '-t', fs]
#add -F to force no interactive execute on non-block device.
# add -F to force no interactive execute on non-block device.
if fs in ('ext3', 'ext4'):
args.extend(['-F'])
if label:

View File

@ -46,8 +46,7 @@ commands = {posargs}
[flake8]
# E711: ignored because it is normal to use "column == None" in sqlalchemy
# TODO(yuriyz): Analyze or fix the warnings blacklisted below
ignore = E12,E265,E711
ignore = E12,E711
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,*ironic/nova*
max-complexity=17