From c6092cb676363d89f366dc9a416ba6c53eeea33f Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 26 Jan 2018 14:29:01 +0100 Subject: Fix pylint errors in several utils modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All utils which are moving to xtesting are now fixed. It remains OpenStack and Functest utils (+ the related unit tests) which doesn't move to the new package. Change-Id: If13c627c8444c62d5c6bf9c8057d6413aa0e56c7 Signed-off-by: Cédric Ollivier --- functest/utils/constants.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'functest/utils/constants.py') diff --git a/functest/utils/constants.py b/functest/utils/constants.py index 75c97c765..cb3ea7875 100644 --- a/functest/utils/constants.py +++ b/functest/utils/constants.py @@ -1,12 +1,15 @@ #!/usr/bin/env python +# pylint: disable=missing-docstring + import six from functest.utils import config from functest.utils import env -class Constants(object): +class Constants(object): # pylint: disable=too-few-public-methods + def __init__(self): for attr_n, attr_v in six.iteritems(config.CONF.__dict__): self.__setattr__(attr_n, attr_v) -- cgit 1.2.3-korg