Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake 8 formatting fixes #16

Merged
merged 109 commits into from
Jan 16, 2025
Merged

Flake 8 formatting fixes #16

merged 109 commits into from
Jan 16, 2025

Conversation

Desitrain22
Copy link

@Desitrain22 Desitrain22 commented Dec 17, 2024

In this P.R, we're merging all the changes from the upstream to date. In addition, we're making the necessary changes to be compliant with the linting and pytest constraights

  • We're reformatting update.py and settings.pyto be flake8 compliant. Specifically, we are using the black formatter, but manually adjusting to make sure we use single quotes instead of double.
  • We had an issue where the error thrown from an unfound cluster was attempting to print 'self.kafka', which should've been the parameter 'kafka_cluster_name'. In addition, we're removing an unnecessary import of kafka producers at the base.py level. This is to resolve a recent issue at the build/push level. (Note that this is a test suite defined upstream)
  • updated scrape/tests/test_jurisdiction_scrape.py and the schema to include our implemented historical_legislative_scrapes

jessemortenson and others added 30 commits August 14, 2024 12:47
…ve-handle-exceptions

Scrape archiving: handle exceptions so archiving doesn't fail scrape
…-other-names-lookup

Update organization other_names lookup
…es-matching-release

Mark for minor release
…-chamber-context

Use incoming Chamber in resolve_person() to improve sponsorship matches
Events to Bills: Add -1 Day to Match Query
…lve-person

Add organization_classification to resolve_person context
@Desitrain22 Desitrain22 requested a review from a team as a code owner December 17, 2024 17:08
@Desitrain22 Desitrain22 changed the title formatted update.py; fixed error handling for unfound cluster Flake 8 formatting fixes Dec 17, 2024
- Fixed in-line comment formatting on settings.py
- single quotes for re-formatted docs
- double quotes for interprolation/placeholder values
@Desitrain22 Desitrain22 merged commit 01f2a46 into main Jan 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants