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

pre-commit: apply black formatting (and prettier on one yaml file) #755

Merged
merged 4 commits into from Nov 4, 2021

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Nov 1, 2021

I've applied black formatting now. I ran it once first without string normalization, applied some manual tweaks, and then ran it with string normalization.

String normalization isn't systematically used with black in the jupyterhub org. I personally favor it though and figure it could make sense to do while also applying black in the first place - something that is reasonable to do only when the amount of PRs are low.

@consideRatio consideRatio changed the title pre-commit: apply black formatting pre-commit: apply black formatting (and prettier on one yaml file) Nov 3, 2021
@consideRatio
Copy link
Member Author

@manics @yuvipanda @choldgraf what do you think?

The PR list is down from 20 to 1 single stale PR with very little changes, can we go for a full black CLI transform at this point?

Waiting for this to get merged is somewhat of a blocker to start doing more work as well.

image

Copy link
Member

@choldgraf choldgraf left a comment

Choose a reason for hiding this comment

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

I'm +1 on merging this - the remaining PR isn't complicated enough that it would be majorly disrupted by this. I think it'd be OK to merge so that we don't start to create conflicts when new PRs come up

Copy link
Member

@manics manics left a comment

Choose a reason for hiding this comment

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

LGTM!

@consideRatio
Copy link
Member Author

Thanks @manics @choldgraf! I'll go for a merge

@consideRatio consideRatio merged commit ad38fad into jupyterhub:main Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants