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

Styling updates #110

Merged
merged 29 commits into from
Sep 6, 2022
Merged

Styling updates #110

merged 29 commits into from
Sep 6, 2022

Conversation

jmelot
Copy link
Member

@jmelot jmelot commented Sep 5, 2022

No description provided.

@jmelot jmelot requested a review from niharikasingh September 6, 2022 12:26
.pre-commit-config.yaml Show resolved Hide resolved
scripts/preprocess.py Show resolved Hide resolved
):
print(
f"unexpected country provision: {provided} "
+ self.node_to_meta.get(provided, {}).get("type", "")
Copy link
Contributor

Choose a reason for hiding this comment

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

Not blocking. The general trend in this file has been to convert printed warnings to assert statements. Should this also become an assert someday?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, opened an issue and will think about it more later


import Header from "./header";
Copy link
Contributor

Choose a reason for hiding this comment

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

Not blocking. Looks like this file is no longer being used anywhere. Should it be deleted?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes ty

@niharikasingh niharikasingh mentioned this pull request Sep 6, 2022
16 tasks
rev: 22.3.0
hooks:
- id: black
language_version: python3.7
Copy link
Contributor

Choose a reason for hiding this comment

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

Not blocking. While installing pre-commit just now, I ran into this issue.

I believe you said that for our airflow pipelines, we use python 3.8, which is what I have by default on my machine. We could change this to python3 to make it compatible for multiple python versions.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have this implemented in #127

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok cool -- can you make the change in this template repo too https://github.com/georgetown-cset/code-validation-template/issues/1

@jmelot jmelot merged commit c7f3f64 into main Sep 6, 2022
@jmelot jmelot deleted the styling-updates branch September 6, 2022 21:52
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