From d046a959460251c597158152b908f11353feff62 Mon Sep 17 00:00:00 2001 From: Jaume Devesa Date: Mon, 6 Oct 2014 12:11:39 +0200 Subject: [PATCH] Fix E113 hacking check Remove E113 from the ignored check and fix them. Just one of them raised. Change-Id: Ie4897264793a34c1fd5f64e7ca4f285f3b2d4504 --- neutronclient/neutron/v2_0/__init__.py | 4 ++-- tox.ini | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/neutronclient/neutron/v2_0/__init__.py b/neutronclient/neutron/v2_0/__init__.py index cd565542b..eb118b191 100644 --- a/neutronclient/neutron/v2_0/__init__.py +++ b/neutronclient/neutron/v2_0/__init__.py @@ -385,8 +385,8 @@ class NeutronCommand(command.OpenStackCommand): # NOTE(markmcclain): This is no longer supported in cliff version 1.5.2 # see https://bugs.launchpad.net/python-neutronclient/+bug/1265926 - #if hasattr(self, 'formatters'): - #self.formatters['table'] = TableFormater() + # if hasattr(self, 'formatters'): + # self.formatters['table'] = TableFormater() @property def cmd_resource(self): diff --git a/tox.ini b/tox.ini index 10140ed5a..833f7b031 100644 --- a/tox.ini +++ b/tox.ini @@ -36,10 +36,9 @@ downloadcache = ~/cache/pip # H302 import only modules # # TODO Fix the following rules from hacking 0.9.x -# E113 unexpected indentation # E265 block comment should start with '# ' # H405 multi line docstring summary not separated with an empty line # H307 like imports should be grouped together -ignore = E113,E125,E265,H302,H307,H405 +ignore = E125,E265,H302,H307,H405 show-source = true exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools