Commit Graph

35 Commits

Author SHA1 Message Date
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
Tobias Macey
0ee4c3efa7 Added unit tests for dependencies 2015-11-20 15:45:34 -05:00
Tobias Macey
862426576f Merge pull request #1 from pre-commit/slight_fixups
Some slight fixups
2015-11-19 22:36:28 -05:00
Tobias Macey
d6be9cdf7c Added shell_escape to shell escape dependencies 2015-11-19 16:15:40 -05:00
Anthony Sottile
fb0d67bd87 Some slight fixups 2015-11-19 12:46:02 -08:00
Tobias Macey
3726f07a3f Reformatted method signatures, fixed typos 2015-11-19 15:16:02 -05:00
Tobias Macey
06b3d91da0 Added the additional_dependencies config parameter
Added the ability to specify additional dependencies to be installed in
the pre-commit environment. Fixed broken tests.
2015-11-19 12:29:41 -05:00
Devon Meunier
6a580a0c09 Allow specifying python version relative to user's home directory. 2015-08-13 12:03:26 -04:00
Anthony Sottile
45d4a195ef Environments are now installed to version-specific locations. Resolves #229 2015-05-16 18:51:14 -07:00
Anthony Sottile
fbf86c775c Use sys.executable when executing virtualenv. Resolves #208. 2015-03-28 18:05:06 -07:00
Anthony Sottile
143ed94500 Tests pass on windows 2015-02-27 00:48:01 -08:00
Anthony Sottile
85a76617c1 Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
Anthony Sottile
4b98b39cea language_version works for python. 2014-06-02 07:26:44 -07:00
Anthony Sottile
a7ab9b2a28 Pass language_version to the install method for each language. 2014-06-02 06:57:07 -07:00
Anthony Sottile
1746a97e24 Better project structure 2014-04-12 15:56:18 -07:00
Anthony Sottile
74363e6ec2 Print message when installing repositories. 2014-04-03 23:31:45 -07:00
Anthony Sottile
bcb00726a1 Clean up directories on failure. Closes #58. 2014-04-03 22:54:27 -07:00
Anthony Sottile
18249bec8a Simplify installing into virtualenv 2014-03-29 23:27:26 -07:00
Anthony Sottile
216b5c6ab1 Resolves cwd problem 2014-03-29 23:23:43 -07:00
Anthony Sottile
ae1d1681b2 Fix the build in python 2.6: speeling error 2014-03-23 12:38:32 -07:00
Anthony Sottile
6cda5bfe27 Clean up how the environments work. 2014-03-22 16:33:24 -07:00
Anthony Sottile
ca02afd0b3 Merge remote-tracking branch 'origin/master' into performance_test
Conflicts:
	pre_commit/languages/python.py
2014-03-14 00:44:10 -07:00
Anthony Sottile
14d0d30b07 Merge remote-tracking branch 'origin/performance_test' into performance_test
Conflicts:
	pre_commit/languages/python.py
2014-03-14 00:31:51 -07:00
Anthony Sottile
43767511e2 Nicer interfaces 2014-03-14 00:31:24 -07:00
Anthony Sottile
6b62ec47e8 Performance hack 2014-03-14 00:30:26 -07:00
Ken Struys
7fbc935d1c added node hooks setup and jshint 2014-03-14 00:30:11 -07:00
Anthony Sottile
1a8095e71e Return the actual return code 2014-03-14 00:06:01 -07:00
Anthony Sottile
0f14d4c072 Attempt with subprocess instead 2014-03-14 00:04:15 -07:00
Anthony Sottile
4db38596c8 Attempt to improve performance by eliminating a sleep call 2014-03-13 23:55:02 -07:00
Ken Struys
27c341e2fb added basic run single hook implmentation 2014-03-13 23:05:02 -07:00
Anthony Sottile
871ab4d72f OMG we're running a hook 2014-03-13 22:12:33 -07:00