Skip to content

Commit 88121c8

Browse files
committed
format
1 parent 9d3cb28 commit 88121c8

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

ogcore/household.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,9 @@ def constraint_checker_SS(bssmat, nssmat, cssmat, ltilde):
791791
" supply.",
792792
)
793793
if (cssmat < 0).any():
794-
logging.info("\tWARNING: Consumption violates nonnegativity", " constraints.")
794+
logging.info(
795+
"\tWARNING: Consumption violates nonnegativity", " constraints."
796+
)
795797
else:
796798
logging.info(
797799
"\tThere were no violations of the constraints on", " consumption."

tests/test_dask_benchmarks.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,9 @@ def test_worker_scaling(self, medium_tax_data):
551551
)
552552
results.append(result)
553553
save_benchmark_result(result)
554-
logging.info(f"Worker scaling {num_workers}: {result.compute_time:.3f}s")
554+
logging.info(
555+
f"Worker scaling {num_workers}: {result.compute_time:.3f}s"
556+
)
555557

556558
# Performance should improve or stay similar with more workers
557559
if all(r.success for r in results):
@@ -658,7 +660,9 @@ def generate_benchmark_report():
658660
if failed:
659661
logging.info(f" Failed tests: {len(failed)}")
660662
for failure in failed[:3]: # Show first 3 failures
661-
logging.info(f" {failure.test_name}: {failure.error_message}")
663+
logging.info(
664+
f" {failure.test_name}: {failure.error_message}"
665+
)
662666

663667

664668
if __name__ == "__main__":

tests/test_real_txfunc_benchmarks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ def create_realistic_micro_data(
183183
data = data[valid_mask].reset_index(drop=True)
184184
micro_data[str(year)] = data
185185

186-
logging.info(f"Generated {len(data)} valid tax records for year {year}")
186+
logging.info(
187+
f"Generated {len(data)} valid tax records for year {year}"
188+
)
187189

188190
return micro_data
189191

0 commit comments

Comments
 (0)