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

Formatting code as per the standards using pre-commit config #51

Open
wants to merge 3 commits into
base: crest-work
Choose a base branch
from

Conversation

rdeshmukh15
Copy link
Contributor

Description of change

Formatting code as per the standards using pre-commit config

Manual QA steps

Risks

Rollback steps

  • revert this branch

@somethingmorerelevant
Copy link
Member

Please delete the .vscode folder and its settings.json

Comment on lines 142 to 145
def is_bookmark_old(self, value):
bookmark = self.get_bookmark()
return utils.strptime_to_utc(value) >= bookmark

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary abstraction of function

Comment on lines 108 to 111
for stream in Context.catalog["streams"]:
if Context.is_selected(stream["tap_stream_id"]):
singer.write_schema(stream["tap_stream_id"],
stream["schema"],
stream["key_properties"])
singer.write_schema(stream["tap_stream_id"], stream["schema"], stream["key_properties"])
Context.counts[stream["tap_stream_id"]] = 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can use the following function instead

catalog.get_selected_streams(state):

somethingmorerelevant

This comment was marked as outdated.

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.

2 participants