1110 Commits

Author SHA1 Message Date
Anthony Sottile
ae2eac5c08 v1.8.0 v1.8.0 2018-03-11 20:19:16 -07:00
Anthony Sottile
c6b6d2340e Merge pull request #716 from tdeo/multiline_pygrep
Add multiline mode to pygrep
2018-03-09 09:39:09 -08:00
Anthony Sottile
5a98765782 Merge pull request #722 from pre-commit/all-repos_autofix_pre-commit-autoupdate
Ran pre-commit autoupdate.
2018-03-09 08:23:40 -08:00
Thierry Deo
55ef3ce960 Address review comments 2018-03-09 09:22:34 +01:00
Anthony Sottile
67c49cd6a4 Ran pre-commit autoupdate.
Committed via https://github.com/asottile/all-repos
2018-03-08 22:41:50 -08:00
Thierry Deo
55c74c10d9 Rename option to and improve output 2018-03-08 09:42:32 +01:00
Anthony Sottile
04fd1de755 Merge pull request #721 from pre-commit/all-repos_autofix_all-repos-sed
Normalize git urls in pre-commit config
2018-03-07 18:39:42 -08:00
Anthony Sottile
d760c794a6 Normalize git urls in pre-commit config
Improves cache performance

Committed via https://github.com/asottile/all-repos
2018-03-07 17:43:33 -08:00
Anthony Sottile
2483cbde36 Merge pull request #720 from pre-commit/manual
Add a manual stage for cli-only interaction
2018-03-07 13:15:53 -08:00
Anthony Sottile
bf5792eb10 Add a manual stage for cli-only interaction 2018-03-07 12:41:25 -08:00
Anthony Sottile
4088f55ee6 Don't need a shell here 2018-03-07 12:18:54 -08:00
Thierry Deo
19075371fa Pre-commit compliance 2018-03-07 09:35:08 +01:00
Thierry Deo
25c06e6525 Remove encoding dependence 2018-03-07 09:24:56 +01:00
Anthony Sottile
f76e7b8eb6 v1.7.0 v1.7.0 2018-03-03 16:31:58 -08:00
Anthony Sottile
45a0f90261 Merge pull request #718 from pre-commit/core_hookspath
Refuse to install with core.hooksPath set
2018-03-03 15:58:53 -08:00
Anthony Sottile
f679983012 Refuse to install with core.hooksPath set 2018-03-03 15:24:14 -08:00
Anthony Sottile
ac3a37d1a0 Merge pull request #717 from pre-commit/nodeenv_clean_src
Use --clean-src for nodeenv
2018-03-01 15:12:42 -08:00
Anthony Sottile
2722e16fd8 Use --clean-src for nodeenv 2018-03-01 14:06:48 -08:00
Thierry Deo
3793bc32c0 Fix linters 2018-02-26 15:46:33 +01:00
Thierry Deo
2d57068f49 Remove newlines from file contents 2018-02-26 13:29:40 +01:00
Thierry Deo
69333fa227 Add multiline mode to pygrep 2018-02-26 10:17:21 +01:00
Anthony Sottile
2e6cd2a44c Merge pull request #715 from pre-commit/rev
Migrate sha -> rev
2018-02-25 18:42:39 -08:00
Anthony Sottile
5651c66995 Migrate sha -> rev 2018-02-24 20:19:39 -08:00
Anthony Sottile
184e22e81f Merge pull request #714 from pre-commit/remove_cwd_fn
Move cwd() to tests-only
2018-02-24 17:44:45 -08:00
Anthony Sottile
86da772fd2 Merge pull request #713 from pre-commit/update_many_repos
Allow autoupdate --repo to be specified multiple times
2018-02-24 17:04:18 -08:00
Anthony Sottile
29033f10ca Move cwd() to tests-only 2018-02-24 16:44:59 -08:00
Anthony Sottile
082c950d8f Merge pull request #711 from pre-commit/different_additional
Each set of additional dependencies gets its own env
2018-02-24 16:19:34 -08:00
Anthony Sottile
f76d3c4f95 Allow autoupdate --repo to be specified multiple times 2018-02-24 15:42:26 -08:00
Anthony Sottile
8abfb37fdf Merge pull request #712 from pre-commit/dont_write_to_homedir_under_test
Don't write to the home directory under test
2018-02-24 15:36:21 -08:00
Anthony Sottile
b827694520 Each set of additional dependencies gets its own env 2018-02-24 15:28:43 -08:00
Anthony Sottile
d7a41d88c3 Don't write to the home directory under test 2018-02-24 14:36:18 -08:00
Anthony Sottile
29715c9268 Merge pull request #710 from pre-commit/dont_modify_my_npmrc
Don't modify user's npmrc under test
2018-02-24 14:20:19 -08:00
Anthony Sottile
40fd04aec3 Don't modify user's npmrc under test 2018-02-24 13:50:15 -08:00
Anthony Sottile
b20aae4fe2 Merge pull request #709 from theresama/update-swift
update swift to swift 4
2018-02-24 11:55:53 -08:00
Theresa Ma
98a6fce830 update swift to swift 4 2018-02-24 11:19:13 -08:00
Anthony Sottile
1f13a5b6b9 Merge pull request #700 from pre-commit/cfgv
Move pre_commit.schema to cfgv library
2018-02-18 16:17:22 -08:00
Anthony Sottile
bdad930d71 Move pre_commit.schema to cfgv library 2018-02-18 15:25:53 -08:00
Anthony Sottile
8bb4d63d3b v1.6.0 v1.6.0 2018-02-04 12:25:52 -08:00
Anthony Sottile
74fcf16530 Merge pull request #699 from pre-commit/rewrite_hook_template
Rewrite the hook template in python
2018-02-04 12:19:27 -08:00
Anthony Sottile
5c90c1a68f Rewrite the hook template in python 2018-02-03 22:51:00 -08:00
Anthony Sottile
64ff7677fa Merge pull request #698 from pre-commit/all-repos_autofix_all-repos-sed
Change ignored cache dir for pytest 3.4.0
2018-02-01 12:22:46 -08:00
Anthony Sottile
5eedbfc2d5 Change ignored cache dir for pytest 3.4.0
Committed via https://github.com/asottile/all-repos
2018-02-01 11:15:30 -08:00
Anthony Sottile
17444cdfc9 Merge pull request #695 from bagerard/Verbose_hook
Add a verbose hook option
2018-02-01 08:19:08 -08:00
Bastien Gérard
b319d6f80c Add a hook option that allows stdout to be printed when exit code is 0 (#695) 2018-02-01 12:21:19 +01:00
Anthony Sottile
7f0b427b74 Merge pull request #694 from pre-commit/fix_legacy_commit_msg_hooks
Fix legacy commit-msg hooks
2018-01-29 22:17:59 -08:00
Anthony Sottile
49dc689bf0 Fix legacy commit-msg hooks 2018-01-29 21:47:35 -08:00
Anthony Sottile
0a4fb173e4 v1.5.1 v1.5.1 2018-01-24 09:46:26 -08:00
Anthony Sottile
c733c39610 Merge pull request #692 from samskiter/patch-1
Properly detect if commit is a root commit
2018-01-24 09:41:22 -08:00
Anthony Sottile
4a6fdd4abe Add test for pushing to unrelated upstream 2018-01-24 09:21:44 -08:00
Sam Duke
1bfd108593 Properly detect if commit is a root commit
Fix bad check for ancestor root commits.
2018-01-24 14:01:59 +00:00