Fix H405 violations and re-enable gating

H405 is a new rule in hacking 0.9, so fix new violations and
re-enable gating.

Change-Id: I61541fa0a9dc18ad938df54d56c65c972b151622
This commit is contained in:
Igor Degtiarov
2014-07-01 13:41:27 +03:00
parent 92a08daa31
commit f67bce40fb
55 changed files with 410 additions and 445 deletions

View File

@@ -28,8 +28,7 @@ LOG = log.getLogger(__name__)
class ComputeMetricsNotificationBase(notifications.ComputeNotificationBase):
"""Convert compute.metrics.update notifications into Samples
"""
"""Convert compute.metrics.update notifications into Samples."""
event_types = ['compute.metrics.update']
metric = None
sample_type = None