Merge "Enable E111 PEP8 check"

This commit is contained in:
Jenkins 2014-10-14 09:48:15 +00:00 committed by Gerrit Code Review
commit 4589ba3707
2 changed files with 8 additions and 5 deletions
ironic/drivers/modules/drac
tox.ini

@ -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):

@ -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]