pre-commit

Install latest/stable of pre-commit

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install pre-commit --classic

Don't have snapd? Get set up for snaps.

Channel Version Published

A framework for managing and maintaining multi-language pre-commit hooks

pre-commit is a multi-language package manager for pre-commit hooks. You specify a list of hooks you want and pre-commit manages the installation and execution of any hook written in any language before every commit. pre-commit is specifically designed to not require root access. If one of your developers doesn’t have node installed but modifies a JavaScript file, pre-commit automatically handles downloading and building node to run eslint without root.

For more information see: https://pre-commit.com/

Snap specifc information

This is NOT an official distribution of pre-commit, for any problem regarding the usage of this snap please refer to the snap issue tracker:

https://github.com/Lin-Buo-Ren/pre-commit-snap/issues

Details for pre-commit

License
  • MIT

Last updated
  • 30 April 2019 - latest/stable
  • 15 July 2021 - latest/beta

Websites

Contact

Share this snap

Generate an embeddable card to be shared on external websites.


Install pre-commit on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using pre-commit

Users by distribution (log)

Ubuntu 20.04
Ubuntu 22.04
Ubuntu 18.04
Ubuntu 23.10
Ubuntu 23.04
pop 22.04
rhel 8.9

Is there a problem with pre-commit? Report this app