Conversation
amoeba
left a comment
There was a problem hiding this comment.
Thanks! Do we want to enable this in CI? I don't run pre-commit locally so I think it'd be good to add it to CI.
|
We should definitely add this to the CI workflows |
|
Any preference for how we do this in CI? There is an official pre-commit/action, although it is in maintenance-only mode. They recommend using their pre-commit.ci service which is free for open source repos. We could install Python and pre-commit, then run it for all files. |
|
Pixi makes sense, you could also look at the arrow-adbc repo and see how @lidavidm set it up there, and just use the same method :) |
|
I'd put a vote in for doing it just how it's done here: https://github.com/adbc-drivers/dev/blob/main/.github/workflows/dev.yaml. It helps to reduce context switching cost to have it be same or similar. Can that work? |
|
You should even be able to directly use the generated workflows for this (it shouldn't generate anything outside of dev*.pr if you don't enable any languages) |
Add pre-commit hooks to the pre-commit config.
These hooks all run successfully: