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 #4

Closed
wants to merge 1 commit into from
Closed

confine pre-commit to stages #4

wants to merge 1 commit into from

Commits on Nov 8, 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]`.
    
    Originally done upstream in psf/black#3940
    Gjgarr committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    6dbb30e View commit details
    Browse the repository at this point in the history