Skip to content

Commit abb0965

Browse files
committed
Do not import multiple modules on one line
It is preferable [1] to import one module per line: import os import sys import time Rather than importing them all on one line: import os, sys, time Having imports listed one per line makes changes much more obvious, and generally makes it easier to understand what the code is doing. [1]: https://peps.python.org/pep-0008/#imports
1 parent 519a713 commit abb0965

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

defaults.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import os, time, uuid
1+
import os
2+
import time
3+
import uuid
24

35
gpu = "v100"
46
image = "image-registry.openshift-image-registry.svc:5000/redhat-ods-applications/csw-run-f25:latest"

0 commit comments

Comments
 (0)