Skip to content

Commit bb91a28

Browse files
committed
ruff format
1 parent 738e540 commit bb91a28

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

v03_pipeline/lib/tasks/delete_old_runs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ def run(self) -> None:
4545
return
4646

4747
# Delete run dirs until we encounter the first of the N successful runs to keep.
48-
oldest_successful_run_index = run_dir_paths.index(successful_run_dir_paths[-MIN_SUCCESSFUL_RUNS])
48+
oldest_successful_run_index = run_dir_paths.index(
49+
successful_run_dir_paths[-MIN_SUCCESSFUL_RUNS]
50+
)
4951
for run_dir_path in run_dir_paths[:oldest_successful_run_index]:
5052
GCSorLocalTarget(run_dir_path.replace('file:', '')).remove()
5153
self._complete = True

v03_pipeline/lib/tasks/delete_old_runs_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def test_too_few_successful_runs(self) -> None:
5151
7,
5252
)
5353

54-
5554
def test_leave_incomplete_runs(self) -> None:
5655
for run_dir in [
5756
'manual__2024-01-05',

0 commit comments

Comments
 (0)