Commit Graph

113 Commits

Author SHA1 Message Date
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
Ben Asher
b271060aef fix CI issues 2017-01-13 11:23:16 -08:00
Ben Asher
8893127f27 correctly use ENVIRONMENT_DIR 2017-01-13 11:20:25 -08:00
Ben Asher
bea4e89a48 SwiftPM support 2017-01-13 10:19:41 -08:00
Anthony Sottile
6055af8bc8 Make shlex behaviour of entry more consistent 2017-01-05 11:52:29 -08:00
Ben Picolo
8cbd56a0a5 Put user back where it was 2017-01-05 12:55:08 -05:00
Ben Picolo
54d212f0d7 Use shlex.split 2017-01-05 10:52:31 -05:00
Ben Picolo
b7bd825e15 Support docker hooks with args 2017-01-05 09:31:22 -05:00
Anthony Sottile
e022bc6735 Only --pull on initial docker build 2017-01-04 11:27:40 -08:00
Ben Picolo
b06da3e9cd Code review tweaks 2017-01-04 13:05:54 -05:00
Ben Picolo
86c0e6d297 Inverse md5 bytesifying 2017-01-04 10:52:56 -05:00
Ben Picolo
baf254ab78 Fix user so we can mount volumes as RW 2017-01-04 10:44:18 -05:00
Ben Picolo
9b92f96ed0 Code cleanup and tests 2017-01-04 10:35:00 -05:00
Ben Picolo
5f392f0ba5 Docker hook support for pre-commit 2017-01-03 16:47:59 -05:00
Anthony Sottile
a157e1a63f xargs returns nonzero for negate + not found exe (fixes pcre + not found #447) 2016-12-04 15:07:35 -08:00
Anthony Sottile
5ace43765b Allow virtualenv creation with strange setup.cfg. Resolves #425 2016-11-07 11:09:32 -08:00
Anthony Sottile
d5ebea31d7 Fix virtualenv-inside-venv on osx. Resolves #419 2016-10-23 16:43:34 -07:00
Anthony Sottile
b81c9802ae Remove py26 format literals
Resolves #403
2016-09-15 08:41:58 -07:00
Anthony Sottile
57cc50e0ad Remove tarfile_open (tarfile open in 2.7+) 2016-08-31 16:24:30 -07:00
Anthony Sottile
e77bb8f3c3 Fix already using rbenv + default ruby. Resolves #369. 2016-05-17 08:23:21 -07:00
Anthony Sottile
a932315a15 Implement 'negate' to simplify pcre 2016-03-25 11:21:50 -07:00
Anthony Sottile
b7d395410b Implement a simplified xargs in python 2016-03-25 11:21:50 -07:00
Anthony Sottile
a5b56bd9e3 Factor out bash and activate files 2016-03-25 11:21:50 -07:00
Anthony Sottile
d58b945107 Fix pre-commit for latest virtualenv. Resolves #299. Resolves #334 2016-01-19 18:08:20 -08:00
Anthony Sottile
2aaaddb5cc Fail gracefully on undecodable install output. 2016-01-12 10:08:59 -08:00
Anthony Sottile
248930f6dc Fix appveyor and windows. Resolves #293 2015-11-23 22:28:57 -08:00
Anthony Sottile
66e8ed5ad5 Remove unneeded format chunk 2015-11-23 15:04:55 -08:00
Anthony Sottile
7c8272da77 Merge pull request #295 from blarghmatey/install_dependencies
Added the additional_dependencies config parameter
2015-11-23 12:08:15 -08:00
Anthony Sottile
738c2ad7bd Fixups + make the tests work 2015-11-20 13:52:20 -08:00
Tobias Macey
0ee4c3efa7 Added unit tests for dependencies 2015-11-20 15:45:34 -05:00