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.ci #145

Open
mikemhenry opened this issue Dec 16, 2021 · 0 comments
Open

Add pre-commit.ci #145

mikemhenry opened this issue Dec 16, 2021 · 0 comments

Comments

@mikemhenry
Copy link
Contributor

I've been using https://pre-commit.ci/ on a few projects now and really like it. It allows me to offload linting and formatting to a different service and then use GHA for unit testing. This uses pre-commit hooks but doesn't require develops to setup hooks locally, which means it is one less thing to configure, but because pre-commit can commit, that means instead of CI failing because of an error that black can fix, the fix just happens. This also makes it easier to accept contributions from new people, since they have less to setup and auto-formatters can just fix the code.

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

No branches or pull requests

1 participant