Anthony Sottile
0eaacd7c8e
Default to python3 when using python_venv under python 2
2018-07-17 18:24:29 -07:00
Anthony Sottile
805a2921ad
Invoke -mvenv with the original python if in a -mvirtualenv venv
2018-05-28 15:14:17 -07:00
Chris Kuehl
b4edf2ce50
Add tests for Rust
2018-05-22 21:52:34 -07:00
Chris Kuehl
2a37fcd3fe
Add support for Rust CLI dependencies
...
Also consistently build the hook using `cargo install`.
2018-05-22 21:20:13 -07:00
Chris Kuehl
7f85da1b9d
Add Rust support
2018-05-22 21:20:13 -07:00
Anthony Sottile
b5af5a5b27
Add test for python_venv language
2018-05-12 11:37:13 -07:00
Anthony Sottile
e8954e2bf3
Simplify python_venv interface
2018-05-12 09:28:49 -07:00
Jonas Obrist
d6825fa0fc
added python venv language
2018-04-27 17:13:47 +09:00
Anthony Sottile
65f001b007
Fix go 1.10: no pkg dir
2018-03-12 14:02:34 -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
Thierry Deo
55ef3ce960
Address review comments
2018-03-09 09:22:34 +01:00
Thierry Deo
55c74c10d9
Rename option to and improve output
2018-03-08 09:42:32 +01: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
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
8fb644e7c0
Simplify prefix a bit
2018-01-13 16:08:18 -08:00
Anthony Sottile
6e46d6ae75
Support node on windows with long path hack
2018-01-12 22:31:43 -08:00
Anthony Sottile
7d87da8acd
Move PrefixedCommandRunner -> Prefix
2018-01-11 21:41:48 -08:00
Anthony Sottile
753979d720
Detect the python version based on the py launcher
2018-01-02 19:02:26 -08:00
Anthony Sottile
2e5b4fcf4c
Add comment about Z flag for selinux
2017-11-02 15:30:28 -07:00
Jimmi Dyson
f0cf940cb5
Add selinux labelling option to docker_image hook type
2017-10-23 11:11:24 +01:00
Anthony Sottile
e70825ab31
Add ctypes to healthy check
2017-10-03 21:10:09 -07: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
b907c02f05
Also check the ssl module for virtualenv health.
2017-09-14 10:09:25 -07:00
Anthony Sottile
92f98088eb
Whitespace fixup
2017-09-06 08:28:50 -07:00
Lucas Cimon
e465129bd4
NodeJS hooks compatibilty fix for Cygwin - take 2
2017-09-06 17:16:58 +02: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
5f3e162646
Appease flake8
2017-08-04 08:31:06 -07:00
Cimon Lucas (LCM)
b22ee6b191
NodeJS hooks compatibilty fix for Cygwin
2017-08-04 10:48:21 +02:00
Anthony Sottile
3fbe4f5a6f
Appease autopep8
2017-07-29 16:20:45 -04:00
Cimon Lucas (LCM)
9640999fb0
Making golang-based hooks compatible with Cygwin
2017-07-29 11:33:11 +02:00
Anthony Sottile
cff98a634d
Recover from invalid python virtualenvs
2017-07-20 10:57:09 -07:00
Anthony Sottile
be3fbdf94e
Upgrade add-trailing-comma to 0.4.0
2017-07-15 12:32:36 -07:00
Anthony Sottile
0c70fa4229
Use asottile/add-trailing-comma
2017-07-12 18:30:51 -07:00
Evan Hubinger
4262487d12
Fix windows virtualenv issue
2017-07-09 13:40:51 -07:00
Anthony Sottile
d876661345
Use a more intelligent default language version
2017-07-08 21:11:48 -07:00
Anthony Sottile
a1e3a0a131
Use VIRTUALENV_NO_DOWNLOAD in pre-commit
2017-06-01 14:11:45 -07:00
Anthony Sottile
8c27f2c50b
Put the . in docker build at the end.
...
Resolves #477
2017-01-27 14:22:00 -08:00
Anthony Sottile
51d673dff5
Remove unnecessary files after installation
2017-01-25 16:45:03 -08:00
Anthony Sottile
84ba1fd0c2
additional_dependencies support for golang hooks
2017-01-25 13:44:35 -08:00
Anthony Sottile
aea9d8e49b
The golang tests pass on windows
2017-01-24 21:17:12 -08:00
Anthony Sottile
068c18d38a
Add first class support for golang hooks
2017-01-24 13:49:22 -08:00
Chris Kuehl
8f057b0b1b
Ignore bundle config files when running ruby hooks
2017-01-23 21:23:14 -08:00
Anthony Sottile
b6937f33e2
Fixups to make appveyor happy
2017-01-16 18:50:49 -08:00
Ben Asher
14cebbb25f
PR feedback fixes
2017-01-13 13:05:44 -08:00
Ben Asher
c68ef12484
fixed path to binary
2017-01-13 11:38:47 -08:00