Skip to content

lefthook as alternative to pre-commit #577

@jorenham

Description

@jorenham

I personally have bad experience with pre-commit. I was using it in all of my open- and closed-source projects, but stopped using it because of this. Not because out of spite, but because I don't want to risk that any of my users experience the same thing. I won't bore you with the details, but in case you're interested you can refer to numpy/numtype#388.

Either way, I've since migrated to lefthook. In the limited experience I have with it now, I've found it to be a "better pre-commit", and I haven't encountered any downsides so far.

As biased as I am, I believe that pre-commit is harmful for the open-source community. I'm afraid that its promotion on the sp-repo-review website could also be.

So I'd like to propose that sp-repo-review either stops requiring pre-commit in favor of lefthook, or to otherwise allow lefthook to be used as a (preferred) alternative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions