-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Labels
enhancementNew feature or requestNew feature or request
Description
From https://pre-commit.com/#usage-in-continuous-integration:
pre-commit can also be used as a tool for continuous integration. For instance, adding pre-commit run --all-files as a CI step will ensure everything stays in tip-top shape. To check only files which have changed, which may be faster, use something like pre-commit run --from-ref origin/HEAD --to-ref HEAD
Is there any way to specify the refs? Basically I want iterative improvement in CI where modified files are checked, not requiring every existing file to be in compliance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request