Skip to content

Commit 8abb968

Browse files
committed
Linting fixes
Signed-off-by: romit <[email protected]>
1 parent a90a3b4 commit 8abb968

File tree

8 files changed

+176
-50
lines changed

8 files changed

+176
-50
lines changed

tests/build/test_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ def test_accelerate_launch_args_user_set_num_processes_ignored(
6161
job_config_copy = copy.deepcopy(job_config)
6262
job_config_copy["accelerate_launch_args"]["num_processes"] = "3"
6363
if "CUDA_VISIBLE_DEVICES" in os.environ:
64-
monkeypatch.setenv(
65-
"CUDA_VISIBLE_DEVICES", os.environ["CUDA_VISIBLE_DEVICES"]
66-
)
64+
monkeypatch.setenv("CUDA_VISIBLE_DEVICES", os.environ["CUDA_VISIBLE_DEVICES"])
6765
else:
6866
monkeypatch.delenv("CUDA_VISIBLE_DEVICES", raising=False)
6967
args = process_accelerate_launch_args(job_config_copy)

0 commit comments

Comments
 (0)