Merge "Enable hacking rule E265"
This commit is contained in:
commit
f70600e220
@ -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:
|
||||
|
3
tox.ini
3
tox.ini
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user