Anthony Sottile
67c1beb322
Use covdefaults to handle coveragerc
2020-02-29 14:25:19 -08:00
Andrew Hare
18fa004254
Add post-checkout
2020-02-23 10:22:18 -08:00
Ville Skyttä
04471f7d97
Add perl additional dependencies test
2020-02-01 16:13:01 +02:00
Ville Skyttä
1295364986
Add basic perl repo test
2020-02-01 15:41:14 +02:00
Anthony Sottile
755b8000f6
move Hook data type to a separate file
2020-01-15 14:20:51 -08:00
Anthony Sottile
5706b9149c
deep listdir works in python3 on windows
2020-01-12 13:39:53 -08:00
Anthony Sottile
67c2dcd90d
Remove pre_commit.five
2020-01-12 13:39:53 -08:00
Anthony Sottile
9000e9dd41
Some manual .format() -> f-strings
2020-01-12 13:39:53 -08:00
Anthony Sottile
327ed924a3
Add types to pre-commit
2020-01-12 10:15:01 -08:00
Anthony Sottile
fa536a8693
mypy passes with check_untyped_defs
2020-01-12 09:27:04 -08:00
Anthony Sottile
ab19b94811
some manual py2 cleanups
2020-01-12 09:27:04 -08:00
Anthony Sottile
30c1e8289f
upgrade hooks, pyupgrade pre-commit
2020-01-12 09:27:04 -08:00
Anthony Sottile
97e3371046
Remove deprecated pcre language
2020-01-05 13:58:44 -08:00
Anthony Sottile
c699e255a1
support pre-merge-commit
2019-12-26 21:21:00 -08:00
Anthony Sottile
01a628d96d
Make verbose output less special
2019-12-23 15:51:58 -08:00
Uwe L. Korn
4ff23b4eab
Support for conda as a language
2019-12-20 18:43:59 -08:00
Anthony Sottile
7c3404ef1f
show color in hook outputs when attached to a tty
2019-10-12 23:17:36 -07:00
Anthony Sottile
38766816ac
Fix fail type signature
2019-10-12 21:29:15 -07:00
Anthony Sottile
2633d38a63
Fix ordering of mixed stdout / stderr printing
2019-10-12 13:35:04 -07:00
Anthony Sottile
f612aeb22b
Split out cmd_output_b
2019-10-06 15:16:47 -07:00
Anthony Sottile
071cc422c7
xfail default language version check for azure pipelines
2019-05-31 13:17:54 -07:00
Anthony Sottile
625750eeef
fixes for cfgv>=2
2019-05-27 13:37:49 -07:00
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