Commit Graph

1001 Commits

Author SHA1 Message Date
Anthony Sottile
5a8ca2ffbe Some minor fixups 2017-10-30 09:12:48 -07:00
Paul Hooijenga
9db827ef9d Refactor meta hooks 2017-10-28 13:59:11 +02:00
Paul Hooijenga
a0a8fc15ff Make Not and NotIn namedtuples 2017-10-27 13:30:36 +02:00
Anthony Sottile
bc9344bb40 Merge branch 'master' into meta-hooks 2017-10-26 23:40:14 -05:00
Anthony Sottile
9e193f7fc8 Merge pull request #648 from pre-commit/no_more_manifest_class
Remove Manifest, no longer a useful abstraction
2017-10-26 19:02:11 -05:00
Anthony Sottile
84b1ba520d Remove Manifest, no longer a useful abstraction 2017-10-26 16:17:52 -07:00
Anthony Sottile
71822279ee Merge pull request #646 from pre-commit/apply_language_to_local_hooks
Apply interpreter version defaulting to local hooks too
2017-10-26 17:35:47 -05:00
Anthony Sottile
6a0fe9889b Apply interpreter version defaulting to local hooks too 2017-10-26 15:02:52 -07:00
Paul Hooijenga
8a0dd01c7e Implement check-files-matches-any meta hook 2017-10-25 10:09:44 +02:00
Paul Hooijenga
8df11ee7aa Implement check-useless-excludes meta hook 2017-10-25 10:09:43 +02:00
Paul Hooijenga
88c676a7c1 Add support for meta hooks 2017-10-22 16:40:19 +02:00
Anthony Sottile
39d5205e31 Merge pull request #640 from pre-commit/unused
Remove unused logger
2017-10-20 14:46:50 -07:00
Anthony Sottile
ac21235b84 Remove unused logger 2017-10-20 14:15:15 -07:00
Anthony Sottile
51c476b2de Merge pull request #639 from pre-commit/lazy_install
Lazily install repositories
2017-10-20 13:36:41 -07:00
Anthony Sottile
10912fa03e Lazily install repositories 2017-10-20 13:04:33 -07:00
Anthony Sottile
2a984c3746 v1.3.0 v1.3.0 2017-10-08 15:07:48 -07:00
Anthony Sottile
3f2c6f1328 Merge pull request #633 from pre-commit/try_repo
Add `pre-commit try-repo`
2017-10-07 21:54:48 -07:00
Anthony Sottile
2c88791a7f Add pre-commit try-repo
`try-repo` is useful for:
- Trying out a remote hook repository without needing to configure it.
- Testing a hook repository while developing it.
2017-10-07 18:03:52 -07:00
Anthony Sottile
e8641ee0a3 Forgot a line in the changelog 2017-10-03 21:21:24 -07:00
Anthony Sottile
883bd42046 v1.2.0 v1.2.0 2017-10-03 21:16:16 -07:00
Anthony Sottile
e70825ab31 Add ctypes to healthy check 2017-10-03 21:10:09 -07:00
Anthony Sottile
a543190f7b Merge pull request #632 from pre-commit/small_cleanups
Small cleanups
2017-09-30 17:20:07 -07:00
Anthony Sottile
18c9e061d8 Small cleanups 2017-09-30 15:53:44 -07:00
Anthony Sottile
e717df0ba8 Merge pull request #630 from pre-commit/pygrep
Implement pygrep language as a replacement for pcre
2017-09-24 11:31:09 -07:00
Anthony Sottile
e9509306d8 Implement pygrep language as a replacement for pcre 2017-09-22 22:31:30 -07:00
Anthony Sottile
3a7806ea30 Merge pull request #629 from pre-commit/more_realistic_test_clones
Use file:// protocol for cloning under test
2017-09-22 11:04:37 -07:00
Anthony Sottile
989bcfe9ca Use file:// protocol for cloning under test 2017-09-22 10:38:19 -07:00
Anthony Sottile
e76bc17f53 Merge pull request #627 from pre-commit/simplify_hook_template
Use some bash best practices and simplify hook template
2017-09-21 19:39:51 -07:00
Anthony Sottile
916ca72bb1 Use some bash best practices and simplify hook template 2017-09-21 16:09:49 -07:00
Anthony Sottile
eefeaaf844 Merge pull request #626 from pre-commit/pipes_quote_more
Use pipes.quote for executable path
2017-09-21 15:49:21 -07:00
Anthony Sottile
873dd173ce Use pipes.quote for executable path 2017-09-21 15:16:48 -07:00
Anthony Sottile
6b81fe9d58 v1.1.2 v1.1.2 2017-09-20 05:49:07 -07:00
Anthony Sottile
ec42a890f3 Merge pull request #624 from pre-commit/include_all_resources
Include all resources
2017-09-20 05:43:37 -07:00
Anthony Sottile
d2097ade8b Include all resources 2017-09-20 05:29:13 -07:00
Anthony Sottile
f4595dce8c v1.1.1 v1.1.1 2017-09-17 17:06:58 -07:00
Anthony Sottile
c3c6175c94 Merge pull request #622 from pre-commit/staged_files_only_patch_dir_does_not_exist
Do not crash in staged_files_only if patch_dir does not exist
2017-09-17 17:03:28 -07:00
Anthony Sottile
3a5a8dc76a Merge pull request #619 from pre-commit/asottile-patch-1
Also check the ssl module for virtualenv health.
2017-09-17 15:26:54 -07:00
Anthony Sottile
bcf6321bd4 Do not crash in staged_files_only if patch_dir does not exist 2017-09-17 15:22:48 -07:00
Anthony Sottile
b907c02f05 Also check the ssl module for virtualenv health. 2017-09-14 10:09:25 -07:00
Anthony Sottile
773a817f7f v1.1.0 v1.1.0 2017-09-11 09:07:45 -07:00
Anthony Sottile
5854f6b21e Merge pull request #617 from pre-commit/global_exclude
Implement global exclude
2017-09-10 16:08:40 -07:00
Anthony Sottile
ecdc22ce80 Implement global exclude 2017-09-10 15:09:44 -07:00
Anthony Sottile
6af60158ec Refactor filename collection for hooks 2017-09-09 22:07:27 -07:00
Anthony Sottile
3cc5aa023e Merge pull request #616 from pre-commit/fail_fast
Implement `fail_fast`.
2017-09-08 16:43:33 -07:00
Anthony Sottile
a821172d9d Remove defaults before checking whether the intelligent rewrite was successful 2017-09-08 14:28:23 -07:00
Anthony Sottile
72e3989350 Revert "Remove remove_defaults -- it wasn't doing anything"
This reverts commit ee392275f3.
2017-09-08 14:22:36 -07:00
Anthony Sottile
898a3ea1bb Implement fail_fast. 2017-09-08 13:19:00 -07:00
Anthony Sottile
94dde26603 v1.0.1 v1.0.1 2017-09-07 09:56:51 -07:00
Anthony Sottile
39314bfd7e Merge pull request #614 from pre-commit/migrate_config_retv
pre-commit migrate-config should not return nonzero when successful
2017-09-07 09:54:43 -07:00
Anthony Sottile
8a420993eb Merge pull request #615 from pre-commit/multiple_versions
Work around travis-ci/travis-ci#8363
2017-09-07 09:54:31 -07:00