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

Add pre-commit #119

Merged
merged 4 commits into from
Apr 1, 2021
Merged

Add pre-commit #119

merged 4 commits into from
Apr 1, 2021

Conversation

manics
Copy link
Member

@manics manics commented Apr 1, 2021

Configuration is a direct copy of https://github.com/jupyterhub/kubespawner/blob/98bb5773f0d1c8e0c065c7259511ea38103eabe9/.pre-commit-config.yaml

Is it worth it the overhead of pre-commit for just one source file? I don't know, but it's about the same amount of work to open an issue to discuss it as it is to open this PR even if we don't merge it 😄

@consideRatio
Copy link
Member

I appreciate that we systematically use it pre-commit etc at this point!

@consideRatio consideRatio merged commit 8a1bb6e into jupyterhub:master Apr 1, 2021
@consideRatio
Copy link
Member

Thanks @manics! I two commits, one to run pre-commit in in a CI job, and one to remove irrelevant logic that was introduced as a mistake by me when i thought sh was the default shell.

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