pep8: enable H402 checks

Change-Id: If4a512ef31549f5611c9a462bef23ace12822757
This commit is contained in:
Julien Danjou 2013-06-19 14:29:39 +02:00
parent e1a8517369
commit ca77a7a093
4 changed files with 4 additions and 4 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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

View File

@ -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