pep8: enable H402 checks
Change-Id: If4a512ef31549f5611c9a462bef23ace12822757
This commit is contained in:
parent
e1a8517369
commit
ca77a7a093
@ -113,7 +113,7 @@ class InstanceNotFoundException(InspectorException):
|
||||
class Inspector(object):
|
||||
|
||||
def inspect_instances(self):
|
||||
"""List the instances on the current host. """
|
||||
"""List the instances on the current host."""
|
||||
raise NotImplementedError()
|
||||
|
||||
def inspect_cpus(self, instance_name):
|
||||
|
@ -35,7 +35,7 @@ cfg.CONF.register_opts(OPTS)
|
||||
|
||||
|
||||
class ImageBase(plugin.NotificationBase):
|
||||
"""Base class for image counting. """
|
||||
"""Base class for image counting."""
|
||||
|
||||
@staticmethod
|
||||
def get_exchange_topics(conf):
|
||||
|
@ -88,7 +88,7 @@ class Connection(base.Connection):
|
||||
"""
|
||||
|
||||
def __init__(self, conf):
|
||||
"""Hbase Connection Initialization"""
|
||||
"""Hbase Connection Initialization."""
|
||||
opts = self._parse_connection_url(conf.database.connection)
|
||||
opts['table_prefix'] = conf.table_prefix
|
||||
|
||||
|
2
tox.ini
2
tox.ini
@ -40,7 +40,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
ignore = E125,F403,H301,H302,H304,H306,H401,H402
|
||||
ignore = E125,F403,H301,H302,H304,H306,H401
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,nova_tests
|
||||
show-source = True
|
||||
|
Loading…
Reference in New Issue
Block a user