Skip to content

Commit 7f127c8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 077964d commit 7f127c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pytorch_lightning/plugins/environments/lsf_environment.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ def __init__(self):
5151
def is_using_lsf() -> bool:
5252
""" Returns ``True`` if the current process was launched using the jsrun command. """
5353
required_env_vars = (
54-
"LSB_JOBID", "LSB_HOSTS", "JSM_NAMESPACE_LOCAL_RANK", "JSM_NAMESPACE_SIZE",
54+
"LSB_JOBID",
55+
"LSB_HOSTS",
56+
"JSM_NAMESPACE_LOCAL_RANK",
57+
"JSM_NAMESPACE_SIZE",
5558
)
5659
return all(v in os.environ for v in required_env_vars)
5760

0 commit comments

Comments
 (0)