Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Commit d4b2ad7

Browse files
committed
Fix some valid issues identified with pylint
Signed-off-by: Paul Myjavec <[email protected]>
1 parent 0dab121 commit d4b2ad7

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,3 @@ repos:
3434
entry: pylint
3535
language: system
3636
types: [python]
37-
args:
38-
- --errors-only

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ disable=print-statement,
6767
backtick,
6868
invalid-name,
6969
long-suffix,
70-
duplicate-code
70+
duplicate-code,
7171
old-ne-operator,
7272
old-octal-literal,
7373
import-star-module-level,

kelpy/pod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from kubernetes.client.exceptions import ApiException
22

33

4-
def list(client, label_selector, namespace="default"):
4+
def list_all(client, label_selector, namespace="default"):
55
try:
66
response = client.list_namespaced_pod(
77
namespace=namespace, label_selector=label_selector

0 commit comments

Comments
 (0)