pre-commit

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
    reddit.com/r/git | 2021-10-20
    A script that checks everything and fails otherwise. https://pre-commit.com
  • New go-critic v0.6.0
    reddit.com/r/golang | 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.
    reddit.com/r/rust | 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
    dev.to | 2021-10-07
  • Best approach to manage S3
    reddit.com/r/Terraform | 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 https://pre-commit.com/, 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
    dev.to | 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
    reddit.com/r/cpp | 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
    dev.to | 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
    reddit.com/r/Python | 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 https://pre-commit.com to setup hooks in convenient way
  • Creating vite vue ts template: Setup pre-commit
    dev.to | 2021-07-27
  • How to Test Jupyter Notebooks with Pytest and Nbmake
    dev.to | 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!
    dev.to | 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.

Stats

Basic pre-commit repo stats
40
6,679
8.4
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.
scoutapm.com
Find remote Python jobs at our new job board 99remotejobs.com. There are 10 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.