-
Notifications
You must be signed in to change notification settings - Fork 55
Add autoupdate for pre-commit hook versions #604
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
Conversation
@anissa111 is the
|
Ah, yeah, nope! At one time, we did use a |
As part of this refresh I'll remove it |
I'm also kind of suprised that we didn't have this set up to autoupdate. I assumed dependabot was doing something like this, but apparently that's not something dependabot is set up to do. I think we should consider setting up pre-commit.ci. I'm not sure if that's actually doable with the github org structure/permissions, but it's worth looking into. We could also theoretically just add a |
Will do. I'll update it to include the autoupdate-r |
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.
So I was a bit worried about just adding the ci step there because I didn't know if we could use pre-commit.ci, but a number of other NCAR repos are already doing so!
I've added geocat-comp to pre-commit.ci, which should allow the changes here to work as expected.
See the additional action run in this test PR: #605
With this, we should remove the github action based pre-commit check. |
PR Summary
Closes #603
PR Checklist
General
closes #XXX
to the PR description where XXX is the number of the issue.docs/release-notes.rst
in a relevant section for the next unreleased release. Possible sections include: Documentation, New Features, Bug Fixes, Internal Changes, Breaking Changes/Deprecatedprecommit
. To set up on your local, runpre-commit install
from the top level of the repository. To manually run pre-commits, usepre-commit run --all-files
and re-add any changed files before committing again and pushing.