Skip to content

Commit 29539d9

Browse files
committed
fix flake issues
Signed-off-by: Chris Snow <[email protected]>
1 parent 9f3dd9a commit 29539d9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

bin/cli.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
@wrapt.decorator
101101
def intercept_exception(wrapped, instance, args, kwargs):
102-
"""Handle Exceptions."""
102+
"""Handle Exceptions.""" # noqa: D202
103103

104104
def _handle_unknown_exception(ex):
105105
"""Handle unknown exceptions."""
@@ -420,7 +420,7 @@ class CatalogProxy(BaseProxy):
420420
"""Proxy object to :py:attr:`<hpecp.client.catalog>`."""
421421

422422
def __init__(self):
423-
"""Initiate this proxy class with the client module name."""
423+
"""Create instance of proxy class with the client module name."""
424424
super(CatalogProxy, self).new_instance("catalog", Catalog)
425425

426426
def __dir__(self):
@@ -530,7 +530,7 @@ def __dir__(self):
530530
]
531531

532532
def __init__(self):
533-
"""Initiate this proxy class with the client module name."""
533+
"""Create instance of proxy class with the client module name."""
534534
super(GatewayProxy, self).new_instance("gateway", Gateway)
535535

536536
@intercept_exception
@@ -609,7 +609,7 @@ def __dir__(self):
609609
]
610610

611611
def __init__(self):
612-
"""Initiate this proxy class with the client module name."""
612+
"""Create instance of proxy class with the client module name."""
613613
super(K8sWorkerProxy, self).new_instance("k8s_worker", WorkerK8s)
614614

615615
@intercept_exception
@@ -720,7 +720,7 @@ def __dir__(self):
720720
]
721721

722722
def __init__(self):
723-
"""Initiate this proxy class with the client module name."""
723+
"""Create instance of proxy class with the client module name."""
724724
super(K8sClusterProxy, self).new_instance("k8s_cluster", K8sCluster)
725725

726726
@intercept_exception
@@ -929,7 +929,7 @@ def __dir__(self):
929929
]
930930

931931
def __init__(self):
932-
"""Initiate this proxy class with the client module name."""
932+
"""Create instance of proxy class with the client module name."""
933933
super(TenantProxy, self).new_instance("tenant", Tenant)
934934

935935
@intercept_exception
@@ -1307,7 +1307,7 @@ def __dir__(self):
13071307
return ["create", "get", "delete", "examples", "list"]
13081308

13091309
def __init__(self):
1310-
"""Initiate this proxy class with the client module name."""
1310+
"""Create instance of proxy class with the client module name."""
13111311
super(UserProxy, self).new_instance("user", User)
13121312

13131313
@intercept_exception
@@ -1349,7 +1349,7 @@ def __dir__(self):
13491349
return ["delete", "examples", "get", "list"]
13501350

13511351
def __init__(self):
1352-
"""Initiate this proxy class with the client module name."""
1352+
"""Create instance of proxy class with the client module name."""
13531353
super(RoleProxy, self).new_instance("role", Role)
13541354

13551355
def examples(self):

hpecp/cli_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _dump_row(data, stream):
7474

7575
@staticmethod
7676
def dump(data):
77-
"""Dump the python object as text."""
77+
"""Dump the python object as text.""" # noqa: D202
7878

7979
class MyStringIO(StringIO):
8080
def write(self, b):

0 commit comments

Comments
 (0)