Commit graph

6 commits

Author SHA1 Message Date
Sean Perry
364da6a0a5 Support repos without hooks.yaml by reading a local config
If a repo does not have a hooks.yaml any hook ids are then looked for in
.pre-commit-hooks-config.yaml in the repo that is under test. It has the same
format as a standard hooks.yaml.

The purpose of this change is to avoid needing to mirror a linter repo just
to call it. Long term, tools could be reference by a URL or other source than
a git repo making having a mirror repo even more of a hassle.
2016-01-22 17:35:09 -08:00
Anthony Sottile
fd109b7745 reorder-python-imports 2015-01-04 15:49:19 -08:00
Anthony Sottile
203c554734 Use cached-property package. 2014-06-17 06:49:54 -07:00
Anthony Sottile
85a76617c1 Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
Anthony Sottile
39c4ee6e96 Use asottile.cached_property. 2014-06-01 16:41:58 -07:00
Anthony Sottile
479eb51873 Implement Store. pre-commit now installs files to ~/.pre-commit 2014-05-02 14:56:47 -07:00