-
Notifications
You must be signed in to change notification settings - Fork 173
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
Start using pre-commit #7395
Start using pre-commit #7395
Conversation
49b18a8
to
679853d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good to me, do we have to set up precommit CI integration or is it automatic on merge?
Oh, I see now it is under |
The bot requires a manual setup and additional config in the
I figure that it this PR gets merged we can discuss adding the bot to the |
This PR adds a pre-commit config with some basic checks:
These checks run very fast and can be setup to run (and autofix in most cases) everytime one commits to git. See https://pre-commit.com/.
Note the vast majority of the changes made by this are simply fixing the whitespace.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR