Skip to content

Commit d2c0099

Browse files
committed
fix(epicworker): formatting
1 parent 9690f7a commit d2c0099

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

bin/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
from hpecp.cli.catalog import CatalogProxy
4242
from hpecp.cli.config import ConfigProxy
4343
from hpecp.cli.datatap import DatatapProxy
44+
from hpecp.cli.epicworker import EpicWorkerProxy
4445
from hpecp.cli.gateway import GatewayProxy
4546
from hpecp.cli.httpclient import HttpClientProxy
4647
from hpecp.cli.install import InstallProxy
4748
from hpecp.cli.k8scluster import K8sClusterProxy
4849
from hpecp.cli.k8sworker import K8sWorkerProxy
49-
from hpecp.cli.epicworker import EpicWorkerProxy
5050
from hpecp.cli.license import LicenseProxy
5151
from hpecp.cli.lock import LockProxy
5252
from hpecp.cli.role import RoleProxy

hpecp/cli/epicworker.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,8 @@ def create_with_ssh_key(
137137
print(
138138
(
139139
"Create request has errored. "
140-
"Check status message with `hpecp epicworker get {}".format(
141-
id
142-
)
140+
"Check status message with "
141+
"`hpecp epicworker get {}".format(id)
143142
),
144143
file=sys.stderr,
145144
)

hpecp/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
from .catalog import CatalogController
4545
from .config import ConfigController
4646
from .datatap import DatatapController
47+
from .epic_worker import EpicWorkerController
4748
from .exceptions import (
4849
APIException,
4950
APIItemConflictException,
@@ -55,7 +56,6 @@
5556
from .install import InstallController
5657
from .k8s_cluster import K8sClusterController
5758
from .k8s_worker import K8sWorkerController
58-
from .epic_worker import EpicWorkerController
5959
from .license import LicenseController
6060
from .lock import LockController
6161
from .logger import Logger

hpecp/epic_worker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
from requests.structures import CaseInsensitiveDict
2626

27+
from hpecp.exceptions import APIItemNotFoundException
28+
2729
from .base_resource import (
2830
AbstractResource,
2931
AbstractWaitableResourceController,

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ per-file-ignores = hpecp/__init__.py:F401
1010
hpecp/logger.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
1111
hpecp/lock.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
1212
hpecp/k8s_cluster.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
13-
hpecp/k8s_worker.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
13+
hpecp/k8s_worker.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
14+
hpecp/epic_worker.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
1415
hpecp/license.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
1516
hpecp/exceptions.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412
1617
hpecp/user.py:D101,D102,D100,D107,D105,D209,D400,D202,D205,D401,D200,D412

0 commit comments

Comments
 (0)