Skip to content

Commit 3217884

Browse files
committed
Fix minor linting errors
1 parent 4b1a6d5 commit 3217884

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
check
1+
check

batchtools.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def run(self, args: list[str] | None = None):
5959

6060
def main() -> None:
6161
if not is_logged_in():
62-
sys.exit("You are not logged in to the oc cli. Retrieve the token using 'oc login --web' or retrieving the login token from the openshift UI.")
62+
sys.exit(
63+
"You are not logged in to the oc cli. Retrieve the token using 'oc login --web' or retrieving the login token from the openshift UI."
64+
)
6365

6466
app = BatchTools()
6567
app.run()

bt-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ python3 batchtools.py bl
3939
python3 batchtools.py bl csw-dev-0
4040
br nvidia-smi
4141

42-
# ADD CASES HERE FOR
42+
# ADD CASES HERE FOR
4343
br sleep 20 &
4444
# Needs bash to get jobs
4545
# python3 batchtools.py bl csw-dev-0 csw-dev-1
@@ -73,4 +73,4 @@ python3 batchtools.py bp
7373
# BR
7474
# ----------------------------------------------------------------------------------------
7575
python3 batchtools.py br nvidia-smi
76-
python3 batchtools.py br --wait 0 nvidia-smi
76+
python3 batchtools.py br --wait 0 nvidia-smi

helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def is_logged_in() -> bool:
88
except oc.OpenShiftPythonException:
99
return False
1010

11+
1112
def pretty_print(pod: oc.APIObject) -> str:
1213
formatted_logs: str = ""
1314
try:

0 commit comments

Comments
 (0)