Skip to content

Commit bf7edd3

Browse files
committed
lint
1 parent 9acffa2 commit bf7edd3

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

v03_pipeline/lib/tasks/delete_old_runs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import shutil
32

43
import hail as hl
54

@@ -29,7 +28,7 @@ def run(self) -> None:
2928
),
3029
)
3130
if rd['is_dir']
32-
]
31+
],
3332
)
3433
successful_run_dir_paths = [
3534
run_dir_path

v03_pipeline/lib/tasks/delete_old_runs_test.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def test_too_few_successful_runs(self) -> None:
4545
runs_path(
4646
ReferenceGenome.GRCh38,
4747
DatasetType.SNV_INDEL,
48-
)
49-
)
48+
),
49+
),
5050
),
5151
7,
5252
)
@@ -78,7 +78,7 @@ def test_leave_incomplete_runs(self) -> None:
7878
Path(run_dir_path).mkdir(parents=True, exist_ok=True)
7979

8080
# Force a couple of incomplete runs
81-
if run_dir not in set(['manual__2024-01-13', 'manual__2024-01-16']):
81+
if run_dir not in {'manual__2024-01-13', 'manual__2024-01-16'}:
8282
Path((run_dir_path) / Path('_SUCCESS')).touch()
8383

8484
worker = luigi.worker.Worker()
@@ -96,8 +96,8 @@ def test_leave_incomplete_runs(self) -> None:
9696
runs_path(
9797
ReferenceGenome.GRCh38,
9898
DatasetType.SNV_INDEL,
99-
)
100-
)
99+
),
100+
),
101101
),
102102
12,
103103
)
@@ -109,6 +109,6 @@ def test_leave_incomplete_runs(self) -> None:
109109
DatasetType.SNV_INDEL,
110110
),
111111
'manual__2024-01-05',
112-
)
113-
)
114-
)
112+
),
113+
),
114+
)

0 commit comments

Comments
 (0)