Commit Graph

58 Commits

Author SHA1 Message Date
Anthony Sottile
9c6edab726 azure pipelines [skip travis] [skip appveyor] 2019-04-28 21:39:06 -07:00
Anthony Sottile
32d65236bf Use sys.executable if it matches the requested version 2019-01-10 06:48:49 -08:00
Anthony Sottile
d3b5a41830 Implement default_language_version 2019-01-05 13:15:23 -08:00
Anthony Sottile
b59d7197ff Use Hook api in languages 2018-12-31 13:16:48 -08:00
Anthony Sottile
6bac405d40 Minor cleanups 2018-11-01 18:05:36 -07:00
Chris Kuehl
ba5e27e4ec Implement concurrent execution of individual hooks 2018-10-24 16:16:10 -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
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
e70825ab31 Add ctypes to healthy check 2017-10-03 21:10:09 -07:00
Anthony Sottile
b907c02f05 Also check the ssl module for virtualenv health. 2017-09-14 10:09:25 -07:00
Anthony Sottile
cff98a634d Recover from invalid python virtualenvs 2017-07-20 10:57:09 -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
b6937f33e2 Fixups to make appveyor happy 2017-01-16 18:50:49 -08:00
Anthony Sottile
6055af8bc8 Make shlex behaviour of entry more consistent 2017-01-05 11:52:29 -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
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
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