Skip to content

Conversation

@drewoldag
Copy link
Collaborator

In pre-commit version 3.2, the accepted values for "stage" changed to match the various pre-commit hooks.

This is outlined in the documentation here https://pre-commit.com/#confining-hooks-to-run-at-certain-stages
Specifically this line:

new in 3.2.0: The values of stages match the hook names. Previously, commit, push, and merge-commit matched pre-commit, pre-push, and pre-merge-commit respectively.

@drewoldag drewoldag requested a review from a team October 28, 2024 19:02
@drewoldag drewoldag self-assigned this Oct 28, 2024
@drewoldag drewoldag requested review from a team, dougbrn and smcguire-cmu and removed request for a team and dougbrn October 28, 2024 19:02
@drewoldag drewoldag merged commit ce2e6e0 into main Oct 28, 2024
5 checks passed
@drewoldag drewoldag deleted the issue/493/pre-commit-notebook-hook-warning branch October 28, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning about jupyter-nb-clear-output pre-commit hook when running .initialize_new_project.sh

3 participants