diff --git a/ceilometer/compute/virt/inspector.py b/ceilometer/compute/virt/inspector.py index 04e6c35f4..2071819d6 100644 --- a/ceilometer/compute/virt/inspector.py +++ b/ceilometer/compute/virt/inspector.py @@ -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): diff --git a/ceilometer/image/notifications.py b/ceilometer/image/notifications.py index eba943bf4..cfee9aab3 100644 --- a/ceilometer/image/notifications.py +++ b/ceilometer/image/notifications.py @@ -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): diff --git a/ceilometer/storage/impl_hbase.py b/ceilometer/storage/impl_hbase.py index d16f9e6e8..d7b5d5882 100644 --- a/ceilometer/storage/impl_hbase.py +++ b/ceilometer/storage/impl_hbase.py @@ -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 diff --git a/tox.ini b/tox.ini index 7cce351c5..583f7609c 100644 --- a/tox.ini +++ b/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