Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
For more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2025
1 parent 57d7ae7 commit 889a39b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pudl/transform/vcerare.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,9 @@ def check_rows(context: AssetCheckExecutionContext) -> AssetCheckResult:

vce = _load_duckdb_table() # noqa: F841
errors = []
for (report_year, length) in duckdb.query("SELECT report_year, COUNT(*) FROM vce GROUP BY ALL").fetchall():
for report_year, length in duckdb.query(
"SELECT report_year, COUNT(*) FROM vce GROUP BY ALL"
).fetchall():
if (expected_length := row_counts_by_year[report_year]) != length:
errors.append(
f"Expected {expected_length} for report year {report_year}, found {length}"
Expand Down

0 comments on commit 889a39b

Please sign in to comment.