44 Commits

Author SHA1 Message Date
Anthony Sottile
dc28922ccb Run pre-commit autoupdate
Committed via https://github.com/asottile/all-repos
2019-03-21 21:09:33 -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
4f9d0397b5 Add more 'no cover windows' comments 2018-12-31 14:06:10 -08:00
Anthony Sottile
b59d7197ff Use Hook api in languages 2018-12-31 13:16:48 -08:00
Anthony Sottile
2af0b0b4f3 better no-cover for windows 2018-12-27 18:25:52 -08:00
Chris Kuehl
45e3dab00d Shuffle arguments before running hooks 2018-11-19 17:53:19 -08:00
Chris Kuehl
9125439c3a Force serial hook runs during tests 2018-10-24 16:33:06 -07:00
Chris Kuehl
ec0ed8aef5 Handle CPU detection errors and running on Travis 2018-10-24 16:16:13 -07:00
Anthony Sottile
a8640c759d Add # pragma: no cover for the py3-only branch 2018-08-10 11:11:50 -07:00
Mickaël Schoentgen
d68a778e3b Fix the use of deprecated inspect.getargspec() on Python 3 2018-08-10 18:30:22 +02:00
Anthony Sottile
f88e007f52 Fix test since pip 10 changed output 2018-05-21 21:38:36 -07:00
Thierry Deo
55c74c10d9 Rename option to and improve output 2018-03-08 09:42:32 +01:00
Thierry Deo
25c06e6525 Remove encoding dependence 2018-03-07 09:24:56 +01:00
Thierry Deo
3793bc32c0 Fix linters 2018-02-26 15:46:33 +01:00
Thierry Deo
69333fa227 Add multiline mode to pygrep 2018-02-26 10:17:21 +01:00
Anthony Sottile
7d87da8acd Move PrefixedCommandRunner -> Prefix 2018-01-11 21:41:48 -08: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
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
Anthony Sottile
d876661345 Use a more intelligent default language version 2017-07-08 21:11:48 -07:00
Anthony Sottile
068c18d38a Add first class support for golang hooks 2017-01-24 13:49:22 -08:00
Ben Picolo
08b379bf45 Coverage complete 2017-01-04 13:16:32 -05: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
248930f6dc Fix appveyor and windows. Resolves #293 2015-11-23 22:28:57 -08: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
Anthony Sottile
45d4a195ef Environments are now installed to version-specific locations. Resolves #229 2015-05-16 18:51:14 -07:00
Anthony Sottile
143ed94500 Tests pass on windows 2015-02-27 00:48:01 -08:00
Anthony Sottile
fd109b7745 reorder-python-imports 2015-01-04 15:49:19 -08:00
Anthony Sottile
bee56cd5bc Use our archives instead of pulling from gits. 2014-06-23 13:50:40 -07:00
Anthony Sottile
2ec7a34035 Fix filenames with spaces in them. 2014-06-20 10:20:02 -07:00
Anthony Sottile
2cfd2818b5 Add pcre type. 2014-06-16 21:11:00 -07:00
Anthony Sottile
85a76617c1 Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
Anthony Sottile
02a79bf1c3 Support language_version for ruby as well. 2014-06-03 13:28:20 -07:00
Anthony Sottile
4f2f1731ea Add language_version to the manifest loader. 2014-06-02 06:50:57 -07:00
Anthony Sottile
b381bb68b7 Support ruby through a combination of rbenv, ruby-build, and GEM_HOME 2014-05-03 23:32:18 -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
c418f2b94e Implement no-dependency system and script hook types. Closes #39. 2014-03-30 15:15:13 -07:00
Anthony Sottile
dc1494d0e7 Added fix end of file hook. 2014-03-22 21:49:10 -07:00
Anthony Sottile
871ab4d72f OMG we're running a hook 2014-03-13 22:12:33 -07:00