File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ def run(self) -> None:
45
45
return
46
46
47
47
# 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
+ )
49
51
for run_dir_path in run_dir_paths [:oldest_successful_run_index ]:
50
52
GCSorLocalTarget (run_dir_path .replace ('file:' , '' )).remove ()
51
53
self ._complete = True
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ def test_too_few_successful_runs(self) -> None:
51
51
7 ,
52
52
)
53
53
54
-
55
54
def test_leave_incomplete_runs (self ) -> None :
56
55
for run_dir in [
57
56
'manual__2024-01-05' ,
You can’t perform that action at this time.
0 commit comments