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

Make python pre-commit hook fail if it would reformat #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 27, 2023

  1. Make python pre-commit hook fail if it would reformat

    Currently, when I run `git commit` with a staged file that would be
    reformatted by the pre-commit hook, the hook will reformat the file but
    the the commit succeed with the unforamtted staged files.
    
    I'd like to make the pre-commit hook fail if it would reformat the file,
    so that I can fix the formatting and then commit.
    michelhe committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    2d23a00 View commit details
    Browse the repository at this point in the history