A framework for managing and maintaining multi-language pre-commit hooks.
Find a file
Anthony Sottile f9db2b5b06 Merge pull request #91 from pre-commit/failing_test_long_filenames_90
Implement `Store`. pre-commit now installs files to ~/.pre-commit
2014-05-02 17:07:55 -07:00
pre_commit Implement Store. pre-commit now installs files to ~/.pre-commit 2014-05-02 14:56:47 -07:00
scripts Ruby should work now 2014-03-14 10:45:00 -07:00
testing Move get_head_sha into testing since it is only used by tests. 2014-04-14 09:57:38 -07:00
tests Remove unused duplicated fixture 2014-05-02 16:53:52 -07:00
.coveragerc Better project structure 2014-04-12 15:56:18 -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 pyflakes -> flake8 2014-04-13 18:01:35 -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 Update setup.py 2014-04-13 22:59:38 -07:00
tox.ini pyflakes -> flake8 2014-04-13 18:01:35 -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.