Skip to content
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

confine pre-commit to stages #2213

Merged
merged 1 commit into from
Dec 13, 2023

Commits on Dec 12, 2023

  1. confine pre-commit to stages

    See https://pre-commit.com/#confining-hooks-to-run-at-certain-stages
    
    > If you are authoring a tool, it is usually a good idea to provide an appropriate `stages` property. For example a reasonable setting for a linter or code formatter would be `stages: [pre-commit, pre-merge-commit, pre-push, manual]`.
    davidculley committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    df0e119 View commit details
    Browse the repository at this point in the history