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 #174

Merged
merged 4 commits into from
Oct 31, 2021

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Oct 31, 2021

This is a followup PR to #173 that added the .pre-commit-config.yaml file that also defines that black should run. I wanted to make the changes made by black into a separate PR as they are harder to overview and would otherwise clutter the changes observed in #173.

To review this, I suggest looking at the individual commits in order.

Also note that string normalization to use " systematically instead of a mix of " and ' is something that we can opt to not do while still being in compliance with general practices in the JupyterHub org, where we sometimes have enforced it and sometimes haven't enforced it. Due to that, I made it a separate commit that can be easily reviewed/removed from this PR.

With regards to string normalization, I suggest we go with whatever your gut feeling tells you at this point in time @lambdaTotoro.

@lambdaTotoro
Copy link
Collaborator

Nah, I like the string normalisation, and between the two options, I think it's sensible to use "string" over 'string'. Merging.

Thanks for setting this up, preparing it and making it easy to review @consideRatio !

@lambdaTotoro lambdaTotoro merged commit bbc932a into jupyterhub:main Oct 31, 2021
@consideRatio
Copy link
Member Author

consideRatio commented Oct 31, 2021

Thanks for being so quick and responsive to review PRs @lambdaTotoro!! ❤️ 🎉

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.

2 participants