Enable E111 PEP8 check
Fixes files with the PEP8 error: E111 indentation is not a multiple of four and enables the check in tox.ini. Change-Id: I9e4e8d6b59d018367febd9362cbc9bc3e79ebd53
This commit is contained in:
parent
46deca788b
commit
26df76b77a
@ -42,12 +42,15 @@ _BOOT_DEVICES_MAP = {
|
||||
}
|
||||
|
||||
# IsNext constants
|
||||
PERSISTENT = '1' # is the next boot config the system will use
|
||||
|
||||
NOT_NEXT = '2' # is not the next boot config the system will use
|
||||
PERSISTENT = '1'
|
||||
""" Is the next boot config the system will use. """
|
||||
|
||||
ONE_TIME_BOOT = '3' # is the next boot config the system will use,
|
||||
# one time boot only
|
||||
NOT_NEXT = '2'
|
||||
""" Is not the next boot config the system will use. """
|
||||
|
||||
ONE_TIME_BOOT = '3'
|
||||
""" Is the next boot config the system will use, one time boot only. """
|
||||
|
||||
|
||||
def _get_next_boot_mode(node):
|
||||
|
2
tox.ini
2
tox.ini
@ -47,7 +47,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,E111,E113,E131,E265,E711
|
||||
ignore = E12,E113,E131,E265,E711
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,*ironic/nova*
|
||||
|
||||
[hacking]
|
||||
|
Loading…
x
Reference in New Issue
Block a user