diff --git a/ironic/drivers/modules/drac/management.py b/ironic/drivers/modules/drac/management.py index d554bdf5f9..b458e08685 100644 --- a/ironic/drivers/modules/drac/management.py +++ b/ironic/drivers/modules/drac/management.py @@ -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): diff --git a/tox.ini b/tox.ini index cad52859c9..4a3b6abf3c 100644 --- a/tox.ini +++ b/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]