Skip to content

Commit 6ff719a

Browse files
committed
Format parallel long-run wrapper for lint
1 parent cfa4997 commit 6ff719a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

policyengine_us_data/datasets/cps/long_term/run_household_projection_parallel.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ def run_year(
122122

123123
if completed.returncode != 0:
124124
raise RuntimeError(
125-
f"Year {year} failed with exit code {completed.returncode}. "
126-
f"See {log_path}."
125+
f"Year {year} failed with exit code {completed.returncode}. See {log_path}."
127126
)
128127

129128
expected_h5 = output_dir / f"{year}.h5"
@@ -137,7 +136,9 @@ def run_year(
137136

138137

139138
def copy_support_reports(temp_output_dir: Path, final_output_dir: Path) -> None:
140-
for report_path in sorted(temp_output_dir.glob("support_augmentation_report*.json")):
139+
for report_path in sorted(
140+
temp_output_dir.glob("support_augmentation_report*.json")
141+
):
141142
target_path = final_output_dir / report_path.name
142143
if not target_path.exists():
143144
shutil.copy2(report_path, target_path)

0 commit comments

Comments
 (0)