A framework for managing and maintaining multi-language pre-commit hooks.
Find a file
Anthony Sottile fe29f334e8 This is 0.2.0
2014-06-17 10:00:05 -07:00
pre_commit Use aspy.yaml instead. 2014-06-17 09:29:39 -07:00
testing Use aspy.yaml instead. 2014-06-17 09:29:39 -07:00
tests Use aspy.yaml instead. 2014-06-17 09:29:39 -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
CHANGELOG.md This is 0.2.0 2014-06-17 10:00:05 -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 Use cached-property package. 2014-06-17 06:49:54 -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
setup.py This is 0.2.0 2014-06-17 10:00:05 -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.