A framework for managing and maintaining multi-language pre-commit hooks. (by pre-commit)

Pre-commit Alternatives

Similar projects and alternatives to pre-commit

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pre-commit alternative or higher similarity.

Suggest an alternative to pre-commit

Reviews and mentions

Posts with mentions or reviews of pre-commit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-18.
  • Tool to prompt a checklist before pushing to git repository | 2021-10-20
    A script that checks everything and fails otherwise.
  • New go-critic v0.6.0 | 2021-10-18
    For those who use pre-commit, my set of pre-commit hooks has built-in support for go-critic:
  • Sometimes clippy lints amaze me. | 2021-10-17
    For anyone who wants to automate this, pre-commit-rust has Rust hooks for pre-commit. Otherwise you will forget to run it.
  • Three cool projects to contribute to during Hacktoberfest | 2021-10-07
  • Best approach to manage S3 | 2021-10-07
    One thing we do with all of our modules is use pre-commit to run a number of checks on the code for consistency and baseline security.
  • Do you ever feel like you're just not good enough for those you work with?
    You might look into, it will perform static analysis for pretty much anything, I'm not sure what issues you're running into, but at the very least you can lint and ast (confirm syntax).
  • Semantic Versioning In Python With Git Hooks | 2021-09-22
    This post will use the pre-commit and commitizen packages to automate our semantic versioning for Python based on our commits.
  • It's too peaceful here, let's start a flame war
    May I introduce you to pre-commit framework? One install and one config file in the repo, and you can enforce your project standards at the individual dev level: line endings, trailing whitespace cleanup, ending newlines, and so on.
  • C/C++ pre-commit hooks for static analyzers and linters | 2021-09-13
    I maintain pre-commit hooks for C/C++ linters and static analyzers using the pre-commit framework. These allow you to verify that your code is free of common errors and to format it consistently. Included are
  • Pre-commit-Golang v1.0.0-beta.1 – Now with support for running custom go tools | 2021-08-06
    pre-commit-golang is a set of pre-commit hooks for Golang with support for monorepos, the ability to pass arguments to all hooks, and the ability to invoke custom go tools.
  • Keep code style out of code reviews | 2021-08-02
    Tools like pre-commit (mentioned in the article under "How do I get started?") do all of that for you, based on configuration stored in the repo (example).
  • How to write slow Rust code. My battle to beat Common Lisp and Java on a phone number encoding problem.
    Clippy and cargo fmt can be configured with git hooks, for example you can use to setup hooks in convenient way
  • Creating vite vue ts template: Setup pre-commit | 2021-07-27
  • How to Test Jupyter Notebooks with Pytest and Nbmake | 2021-07-08
    Use pre-commit and nbstripout to remove bulky notebook output data before committing changes
  • Chickity-check yo self before you wreck yo self! | 2021-07-06
    Pre-commit solves this problem by providing pre-commit hooks that run after every commit which solves all of these common, repeatable problems that machines are good at solving.


Basic pre-commit repo stats
1 day ago

pre-commit/pre-commit is an open source project licensed under MIT License which is an OSI approved license.

Scout APM: A developer's best friend. Try free for 14-days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Find remote Python jobs at our new job board There are 10 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.