From ea33e223e34bb2b8efae6b165f3ac9729357cb46 Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Fri, 13 Jan 2017 14:29:48 -0500 Subject: Adding oc_edit module to lib_openshift. --- roles/lib_utils/library/yedit.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/lib_utils/library') diff --git a/roles/lib_utils/library/yedit.py b/roles/lib_utils/library/yedit.py index 90c7fd4d7..d882c983e 100644 --- a/roles/lib_utils/library/yedit.py +++ b/roles/lib_utils/library/yedit.py @@ -162,12 +162,15 @@ EXAMPLES = ''' # b: # c: d ''' +# noqa: E301,E302 + class YeditException(Exception): ''' Exception class for Yedit ''' pass +# pylint: disable=too-many-public-methods class Yedit(object): ''' Class to modify yaml files ''' re_valid_key = r"(((\[-?\d+\])|([0-9a-zA-Z%s/_-]+)).?)+$" @@ -724,6 +727,7 @@ class Yedit(object): return {'failed': True, 'msg': 'Unkown state passed'} + # pylint: disable=too-many-branches def main(): ''' ansible oc module for secrets ''' -- cgit v1.2.1