Commit Graph

20 Commits

Author SHA1 Message Date
Anthony Sottile
d876661345 Use a more intelligent default language version 2017-07-08 21:11:48 -07:00
Anthony Sottile
05a108efe1 Implement exclude_types 2017-07-02 19:08:33 -07:00
Anthony Sottile
a68c1ab0d2 Add 'types' to the schema 2017-07-02 13:20:39 -07:00
André Berti Sassi
e774c09fac Add pass_filenames hook option
This option controls whether filenames are passed along as arguments to
the hook program.
2017-05-13 14:28:17 -03:00
Anthony Sottile
840a55bbc3 Fixup log_file commit 2017-05-08 11:04:07 -07:00
Anthony Sottile
cb8dd335f4 Replace jsonschema with better error messages 2017-03-08 14:07:00 -08:00
Anthony Sottile
f000241dcb Local repositories clone a blank repo 2017-02-15 15:36:53 -08:00
Anthony Sottile
b9e5184ebd Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml 2017-01-21 13:47:59 -08:00
Anthony Sottile
4f58f119b1 Add regression test for always_run setting 2015-12-22 12:33:17 -08:00
Laurent Sigal
5d160e1547 Fix tests 2015-12-22 19:47:22 +00:00
Anthony Sottile
ce307a16e0 Add an option to require a specific pre-commit version 2015-12-06 20:54:07 -08:00
Anthony Sottile
67ad0d2d8e Remove expected_return_value. Resolves #232 2015-11-12 13:50:29 -08:00
Barry Steyn
dd73ffd02f Filtering of hooks for commit or push stages 2015-10-05 07:17:20 -07:00
Anthony Sottile
1dfcf10036 git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g' 2015-10-01 10:24:54 -07:00
Anthony Sottile
039a7a5878 Remove defaults from pre-commit config schema. Resolves #227 2015-05-18 13:59:42 -07:00
Anthony Sottile
26502dfd0b Default arguments from hooks.yaml 2015-01-12 09:35:05 -08:00
Anthony Sottile
85a76617c1 Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
Anthony Sottile
96174deac6 Make hooks specify files. Optionally allow config to override manifest. 2014-06-05 18:39:34 -07:00
Anthony Sottile
4f2f1731ea Add language_version to the manifest loader. 2014-06-02 06:50:57 -07:00
Anthony Sottile
479eb51873 Implement Store. pre-commit now installs files to ~/.pre-commit 2014-05-02 14:56:47 -07:00