Skip to content

Commit 34109c1

Browse files
committed
Format files for lint
1 parent 597489a commit 34109c1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

policyengine_us_data/db/create_database_tables.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,12 +522,15 @@ def create_or_replace_views(engine) -> None:
522522
conn.execute(text(TARGET_OVERVIEW_VIEW))
523523
conn.commit()
524524

525+
525526
def refresh_views_for_db_path(db_path: str | Path) -> None:
526527
"""Refresh SQL views for an existing SQLite database file."""
527528
engine = create_engine(f"sqlite:///{Path(db_path)}")
528529
try:
529530
create_or_replace_views(engine)
530531
finally:
531532
engine.dispose()
533+
534+
532535
if __name__ == "__main__":
533536
engine = create_database()

policyengine_us_data/tests/test_database_build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def test_jct_tax_expenditure_targets_have_distinct_reform_ids(built_db):
166166

167167
assert rows == expected
168168

169+
169170
def test_state_income_tax_targets(built_db):
170171
"""State income tax targets should cover all income-tax states."""
171172
conn = sqlite3.connect(str(built_db))

0 commit comments

Comments
 (0)