Marc Jay
64467f6ab9
Fix broken test_manifest_hooks test
2019-04-21 21:54:23 +01:00
Anthony Sottile
dc28922ccb
Run pre-commit autoupdate
...
Committed via https://github.com/asottile/all-repos
2019-03-21 21:09:33 -07:00
Brett Randall
7d7c9c0fde
Additional fixes prompted by double-quote-string-fixer.
...
Signed-off-by: Brett Randall <javabrett@gmail.com >
2019-03-18 10:24:46 +11:00
Andrew S. Brown
1eed1b51b8
Address PR feedback
2019-01-27 17:55:11 -08:00
Andrew S. Brown
950bc2c7fb
Shorten line
2019-01-27 14:02:53 -08:00
Andrew S. Brown
fe5390c068
Ensure that GOBIN is not set when installing a golang hook
...
If GOBIN is set, it will be used as the install path instead of the first item
from GOPATH followed by "/bin". If it is used, commands will not be isolated
between different repos.
2019-01-27 13:34:47 -08:00
Anthony Sottile
bd65d8947f
Implement default_stages
2019-01-06 10:32:58 -08:00
Anthony Sottile
d3b5a41830
Implement default_language_version
2019-01-05 13:15:23 -08:00
Anthony Sottile
fc84567923
Default local / meta through cfgv
2019-01-05 08:31:03 -08:00
Anthony Sottile
4f9d0397b5
Add more 'no cover windows' comments
2018-12-31 14:06:10 -08:00
Anthony Sottile
e4cf5f321b
just use normal dicts in tests
2018-12-31 11:15:22 -08:00
Anthony Sottile
c577ed92e7
Refactor pre_commit.repository and factor out cached-property
2018-12-30 20:56:49 -08:00
Anthony Sottile
d46bbc486f
Use in_git_dir in more places
2018-12-27 18:25:54 -08:00
Anthony Sottile
2af0b0b4f3
better no-cover for windows
2018-12-27 18:25:52 -08:00
Pedro Algarvio
5840f880a9
Address review comments and test failures
2018-12-27 12:03:27 +00:00
Chris Kuehl
ba5e27e4ec
Implement concurrent execution of individual hooks
2018-10-24 16:16:10 -07:00
Anthony Sottile
6cde287a1e
Install multi-hook repositories only once
2018-10-23 10:28:37 -07:00
Anthony Sottile
a6e2e1d4bb
Add language: fail
2018-08-10 18:11:28 -07:00
Mickaël Schoentgen
abee146199
Get rid of @pytest.mark.integration
2018-08-10 18:29:30 +02:00
Chris Kuehl
5ac2ba0f7b
Make local hooks work
2018-05-24 19:42:58 -07:00
Chris Kuehl
23fe0be286
Add Rust to CI
2018-05-22 21:52:34 -07:00
Chris Kuehl
b4edf2ce50
Add tests for Rust
2018-05-22 21:52:34 -07:00
Anthony Sottile
b5af5a5b27
Add test for python_venv language
2018-05-12 11:37:13 -07:00
Anthony Sottile
5651c66995
Migrate sha -> rev
2018-02-24 20:19:39 -08:00
Anthony Sottile
29033f10ca
Move cwd() to tests-only
2018-02-24 16:44:59 -08:00
Anthony Sottile
b827694520
Each set of additional dependencies gets its own env
2018-02-24 15:28:43 -08:00
Anthony Sottile
40fd04aec3
Don't modify user's npmrc under test
2018-02-24 13:50:15 -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
6e46d6ae75
Support node on windows with long path hack
2018-01-12 22:31:43 -08:00
Anthony Sottile
b4541d8a5f
Update the versioned node hook test
2018-01-11 22:20:21 -08:00
Anthony Sottile
7d87da8acd
Move PrefixedCommandRunner -> Prefix
2018-01-11 21:41:48 -08:00
Anthony Sottile
40690064f7
Fix broken local golang repos
2018-01-09 09:42:44 -08:00
Anthony Sottile
a506a1cac1
Simplify cross version tests
2018-01-02 18:34:00 -08:00
Anthony Sottile
56fca92a42
Remove slowtests=false setting
...
It wasn't actually working because of tox, I also don't use this.
2017-11-02 15:48:43 -07:00
Paul Hooijenga
9db827ef9d
Refactor meta hooks
2017-10-28 13:59:11 +02:00
Anthony Sottile
bc9344bb40
Merge branch 'master' into meta-hooks
2017-10-26 23:40:14 -05:00
Anthony Sottile
84b1ba520d
Remove Manifest, no longer a useful abstraction
2017-10-26 16:17:52 -07:00
Anthony Sottile
6a0fe9889b
Apply interpreter version defaulting to local hooks too
2017-10-26 15:02:52 -07:00
Paul Hooijenga
88c676a7c1
Add support for meta hooks
2017-10-22 16:40:19 +02:00
Anthony Sottile
e9509306d8
Implement pygrep language as a replacement for pcre
2017-09-22 22:31:30 -07:00
Anthony Sottile
989bcfe9ca
Use file:// protocol for cloning under test
2017-09-22 10:38:19 -07:00
Anthony Sottile
7cb3e00731
Only print that the lock is being acquired when waiting
2017-09-04 11:53:17 -07:00
Anthony Sottile
9c3bbecab8
Add new docker_image language type.
...
`docker_image` is intended to be a lightweight hook type similar to system /
script which allows one to use an existing docker image which provides a
hook.
2017-09-02 19:49:23 -07:00
Anthony Sottile
625aaf54aa
Limit repository creation to one process
2017-08-23 20:59:03 -07:00
Anthony Sottile
8f86f8f156
Merge pull request #553 from pre-commit/remove_legacy_hooks_yaml_support
...
Remove legacy 'hooks.yaml' file support
2017-07-26 05:50:41 -07:00
Anthony Sottile
cff98a634d
Recover from invalid python virtualenvs
2017-07-20 10:57:09 -07:00
Anthony Sottile
86d9ca053b
Remove legacy 'hooks.yaml' file support
2017-07-13 10:29:36 -07:00
Anthony Sottile
0c70fa4229
Use asottile/add-trailing-comma
2017-07-12 18:30:51 -07:00
Anthony Sottile
d876661345
Use a more intelligent default language version
2017-07-08 21:11:48 -07:00
Anthony Sottile
918179849d
Make autoupdate --tags-only the default, add --bleeding-edge
2017-04-29 17:40:42 -07:00