A framework for managing and maintaining multi-language pre-commit hooks.
Find a file
2014-04-13 15:39:31 -07:00
pre_commit Increase coverage moar 2014-04-13 15:28:48 -07:00
scripts Ruby should work now 2014-03-14 10:45:00 -07:00
testing Move stuff into commands and write tests. 2014-04-13 14:07:52 -07:00
tests Increase coverage moar 2014-04-13 15:28:48 -07:00
.coveragerc Better project structure 2014-04-12 15:56:18 -07:00
.gitignore Rebuild virtualenv on requirements change. 2014-04-12 23:25:49 -07:00
.pre-commit-config.yaml Add yaml hook. 2014-04-03 22:31:42 -07:00
.travis.yml Python 3 compatibility. 2014-04-12 23:46:03 -07:00
example_hooks.yaml Better project structure 2014-04-12 15:56:18 -07:00
example_pre-commit-config.yaml Better project structure 2014-04-12 15:56:18 -07:00
hooks.yaml manifest -> hooks 2014-03-30 13:12:40 -07:00
Makefile Rebuild virtualenv on requirements change. 2014-04-12 23:25:49 -07:00
pylintrc Better project structure 2014-04-12 15:56:18 -07:00
README.md Oops was using the incorrect travis bling 2014-03-22 18:39:48 -07:00
requirements.txt Better project structure 2014-04-12 15:56:18 -07:00
requirements_dev.txt Better project structure 2014-04-12 15:56:18 -07:00
setup.py yaml extensions and ordereddict are now imported from asottile. 2014-04-12 16:12:10 -07:00
tox.ini Bump up to 93% 2014-04-13 15:39:31 -07:00
UNLICENSE Better project structure 2014-04-12 15:56:18 -07:00

Build 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.