From c8d605984fade3742172459a5b6c9b8960555c92 Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Tue, 27 Sep 2016 13:01:12 +0700 Subject: [PATCH] Docstrings should not start with a space As per OpenStack Docstrings guide lines [1]: [H401] Docstrings should not start with a space. [1] http://docs.openstack.org/developer/hacking/#docstrings trivialfix Change-Id: Ifdff563f3ab7559e68c7201575045013db7383a5 --- watcher/api/controllers/v1/strategy.py | 2 +- watcher/decision_engine/cluster/history/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/watcher/api/controllers/v1/strategy.py b/watcher/api/controllers/v1/strategy.py index a8822057a..2c74da14a 100644 --- a/watcher/api/controllers/v1/strategy.py +++ b/watcher/api/controllers/v1/strategy.py @@ -110,7 +110,7 @@ class Strategy(base.APIBase): """The name of the goal this audit refers to""" parameters_spec = {wtypes.text: types.jsontype} - """ Parameters spec dict""" + """Parameters spec dict""" def __init__(self, **kwargs): super(Strategy, self).__init__() diff --git a/watcher/decision_engine/cluster/history/base.py b/watcher/decision_engine/cluster/history/base.py index ce76b6db3..e12819ce4 100644 --- a/watcher/decision_engine/cluster/history/base.py +++ b/watcher/decision_engine/cluster/history/base.py @@ -59,7 +59,7 @@ in any appropriate storage system (InfluxDB, OpenTSDB, MongoDB,...). import abc import six -""" Work in progress Helper to query metrics """ +"""Work in progress Helper to query metrics""" @six.add_metaclass(abc.ABCMeta)