rmuir commented on issue #15626:
URL: https://github.com/apache/lucene/issues/15626#issuecomment-3814257245

   There's multiple ways to use them. At work i have prek configured for a big 
repo as such:
   
   * I use the rust [built-in 
hooks](https://prek.j178.dev/builtin/#supported-hooks). fast!
   * most other hooks are "system" and use `uv run`. Examples: `ast-grep`, 
`check-jsonschema`, `rumdl`, `yamllint`, and so on. This way they are proper 
deps in a pyproject.toml+uv.lock and can be pinned, dependabot'ed, work on 
airplane, etc. builtin precommit "package manager" is not used.
   * some other hooks are "system" and just homemade scripts/commands. 
Typically just an invocation of `grep` or similar.
   * users can install into .git/hooks if they want that, but it is opt-in.
   * CI runs all the hooks by triggering "manual" stage. Job runs in less than 
a minute and is prerequisite before "huge matrix of tests", so it helps the CI 
efficiency.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to