Skip to content

Commit 060402e

Browse files
committed
Apply CI Ruff formatting
1 parent 2b18aac commit 060402e

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

tests/unit/utils/test_data_upload.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -405,13 +405,15 @@ def test_promote_full_release_orders_full_release_operations(
405405
monkeypatch.setattr(
406406
data_upload,
407407
"publish_release_manifest_to_hf",
408-
lambda files_with_paths, **kwargs: calls.append("release_manifest")
409-
or {
410-
"artifacts": {
411-
Path(repo_path).with_suffix("").as_posix(): {"path": repo_path}
412-
for _, repo_path in files_with_paths
408+
lambda files_with_paths, **kwargs: (
409+
calls.append("release_manifest")
410+
or {
411+
"artifacts": {
412+
Path(repo_path).with_suffix("").as_posix(): {"path": repo_path}
413+
for _, repo_path in files_with_paths
414+
}
413415
}
414-
},
416+
),
415417
)
416418
monkeypatch.setattr(
417419
data_upload,

0 commit comments

Comments
 (0)