Fix E113 hacking check
Remove E113 from the ignored check and fix them. Just one of them raised. Change-Id: Ie4897264793a34c1fd5f64e7ca4f285f3b2d4504
This commit is contained in:
parent
64b2d8a01b
commit
d046a95946
@ -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):
|
||||
|
3
tox.ini
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user