From 9ed2463827c2eeb7b5adae9d2878ffbdd81cbc74 Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Thu, 9 Feb 2017 22:09:22 -0500 Subject: Fixing linters --- roles/lib_openshift/library/oc_project.py | 1 + roles/lib_openshift/src/lib/project.py | 2 ++ roles/lib_openshift/src/test/unit/oc_project.py | 4 ---- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/lib_openshift/library/oc_project.py b/roles/lib_openshift/library/oc_project.py index d8a88d12c..db3865f8b 100644 --- a/roles/lib_openshift/library/oc_project.py +++ b/roles/lib_openshift/library/oc_project.py @@ -1267,6 +1267,7 @@ class OpenShiftCLIConfig(object): # -*- -*- -*- Begin included fragment: lib/project.py -*- -*- -*- + # pylint: disable=too-many-instance-attributes class ProjectConfig(OpenShiftCLIConfig): ''' project config object ''' diff --git a/roles/lib_openshift/src/lib/project.py b/roles/lib_openshift/src/lib/project.py index 1e28637de..a06f83d78 100644 --- a/roles/lib_openshift/src/lib/project.py +++ b/roles/lib_openshift/src/lib/project.py @@ -1,4 +1,6 @@ # pylint: skip-file +# flake8: noqa + # pylint: disable=too-many-instance-attributes class ProjectConfig(OpenShiftCLIConfig): diff --git a/roles/lib_openshift/src/test/unit/oc_project.py b/roles/lib_openshift/src/test/unit/oc_project.py index 42b95c54d..e3a7eba6f 100755 --- a/roles/lib_openshift/src/test/unit/oc_project.py +++ b/roles/lib_openshift/src/test/unit/oc_project.py @@ -117,10 +117,6 @@ class OCProjectTest(unittest.TestCase): ]) - #mock_write.assert_has_calls([ - #mock.call(mock.ANY, "{'one': 1, 'two': 2, 'three': 3}"), - #]) - def tearDown(self): '''TearDown method''' pass -- cgit v1.2.3