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
85a76617c1
Refactor fixtures in tests.
2014-06-15 18:49:45 -07:00
Anthony Sottile
3baefd57e2
Convert autoupdate_test to use new fixture functions.
2014-06-15 17:00:35 -07:00
Anthony Sottile
479eb51873
Implement Store. pre-commit now installs files to ~/.pre-commit
2014-05-02 14:56:47 -07:00
Anthony Sottile
1746a97e24
Better project structure
2014-04-12 15:56:18 -07:00
Anthony Sottile
c418f2b94e
Implement no-dependency system and script hook types. Closes #39 .
2014-03-30 15:15:13 -07:00
Anthony Sottile
c62c1a3b51
manifest -> hooks
2014-03-30 13:12:40 -07:00
Anthony Sottile
26d563ee20
Autoupdate works. Closes #44 .
2014-03-23 22:57:19 -07:00
Anthony Sottile
dc1494d0e7
Added fix end of file hook.
2014-03-22 21:49:10 -07:00
Anthony Sottile
871ab4d72f
OMG we're running a hook
2014-03-13 22:12:33 -07:00
Anthony Sottile
abea886a3d
Refactored how the installer works
2014-03-13 19:36:44 -07:00
Anthony Sottile
28857c9a74
Consolidated file validation
2014-03-13 15:47:02 -07:00
Anthony Sottile
3945f84e3f
Started implementing manifest validating
2014-03-13 12:36:25 -07:00
Anthony Sottile
e06392134b
Add a constants directory.
2014-03-13 10:17:33 -07:00