summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-02-09 22:09:22 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-03-06 09:09:14 -0500
commit9ed2463827c2eeb7b5adae9d2878ffbdd81cbc74 (patch)
tree05e884a7d25a64786445d68dcff57a835b92d0d3 /roles
parente8f02e60daf2d158a0fa6f08ac7d3ed89f9c5317 (diff)
downloadopenshift-9ed2463827c2eeb7b5adae9d2878ffbdd81cbc74.tar.gz
openshift-9ed2463827c2eeb7b5adae9d2878ffbdd81cbc74.tar.bz2
openshift-9ed2463827c2eeb7b5adae9d2878ffbdd81cbc74.tar.xz
openshift-9ed2463827c2eeb7b5adae9d2878ffbdd81cbc74.zip
Fixing linters
Diffstat (limited to 'roles')
-rw-r--r--roles/lib_openshift/library/oc_project.py1
-rw-r--r--roles/lib_openshift/src/lib/project.py2
-rwxr-xr-xroles/lib_openshift/src/test/unit/oc_project.py4
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