From 26df76b77aa9a59aaedfaa2f89aa92f6f1e354a8 Mon Sep 17 00:00:00 2001
From: David Shrewsbury <shrewsbury.dave@gmail.com>
Date: Mon, 13 Oct 2014 16:07:40 -0400
Subject: [PATCH] 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
---
 ironic/drivers/modules/drac/management.py | 11 +++++++----
 tox.ini                                   |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

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]