Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Mar 6, 2024
1 parent 646b4c0 commit d99957a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,15 @@ def do_import(jurisdiction_id: str, datadir: str) -> None:
# datadir = os.path.join(settings.SCRAPED_DATA_DIR, state)

juris_importer = JurisdictionImporter(jurisdiction_id)
# bills postimport disabled because bill postimport does some expensive SQL, and we want this to be fast
# bills postimport disabled because bill postimport does some expensive SQL
# that we want this to be fast
bill_importer = BillImporter(jurisdiction_id, do_postimport=False)
# votes postimport disabled because it will delete all vote events for the related bill
# except the vote event being processed now, causing votes to be deleted and re-created
vote_event_importer = VoteEventImporter(jurisdiction_id, bill_importer, do_postimport=False)
# votes postimport disabled because it will delete all vote events for the
# related bill except the vote event being processed now, causing votes to
# be deleted and re-created
vote_event_importer = VoteEventImporter(
jurisdiction_id, bill_importer, do_postimport=False
)
event_importer = EventImporter(jurisdiction_id, vote_event_importer)
logger.info(f"Datadir: {datadir}")

Expand Down

0 comments on commit d99957a

Please sign in to comment.