A framework for managing and maintaining multi-language pre-commit hooks.
Find a file
Anthony Sottile cf710d4ca2 Merge pull request #108 from pre-commit/rbenv_rvm_download
Attempt ruby-download before ruby-build.
2014-06-07 14:35:55 -07:00
pre_commit Attempt ruby-download before ruby-build. 2014-06-07 14:25:44 -07:00
testing Attempt ruby-download before ruby-build. 2014-06-07 14:25:44 -07:00
tests Attempt ruby-download before ruby-build. 2014-06-07 14:25:44 -07:00
.coveragerc Remove timid coverage. 2014-06-05 15:52:36 -07:00
.gitignore Implement Store. pre-commit now installs files to ~/.pre-commit 2014-05-02 14:56:47 -07:00
.pre-commit-config.yaml Various cleanup. 2014-06-06 07:38:25 -07:00
.travis.yml Add coveralls 2014-06-05 10:02:00 -07:00
example_hooks.yaml Make hooks specify files. Optionally allow config to override manifest. 2014-06-05 18:39:34 -07:00
example_pre-commit-config.yaml Make hooks specify files. Optionally allow config to override manifest. 2014-06-05 18:39:34 -07:00
hooks.yaml Make hooks specify files. Optionally allow config to override manifest. 2014-06-05 18:39:34 -07:00
LICENSE MIT 2014-06-05 08:57:40 -07:00
Makefile requirements_dev -> requirements-dev 2014-06-05 09:08:37 -07:00
pylintrc Better project structure 2014-04-12 15:56:18 -07:00
README.md Add coveralls 2014-06-05 10:02:00 -07:00
requirements-dev.txt requirements_dev -> requirements-dev 2014-06-05 09:08:37 -07:00
requirements.txt Better project structure 2014-04-12 15:56:18 -07:00
setup.py Various cleanup. 2014-06-06 07:38:25 -07:00
tox.ini Various cleanup. 2014-06-06 07:38:25 -07:00

Build Status Coverage Status

pre-commit

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

Some out-of-the-box hooks: https://github.com/pre-commit/pre-commit-hooks

What is a "pre-commit"

A pre-commit is some code that runs before commiting code to do some spot-checking for some basic programming mistakes.

Why make this project?

We noticed that when creating a git repo it was not convenient to create pre-commit hooks. Often we resorted to copy/paste to include a set of useful hooks. https://github.com/causes/overcommit is an awesome project, but locked us into ruby and system packages -- which we wanted to avoid.