Commit Graph

13 Commits

Author SHA1 Message Date
Anthony Sottile
d3b5a41830 Implement default_language_version 2019-01-05 13:15:23 -08:00
Anthony Sottile
6bac405d40 Minor cleanups 2018-11-01 18:05:36 -07:00
Chris Kuehl
aa50a8cde0 Switch to using concurrent.futures 2018-10-24 16:33:06 -07:00
Chris Kuehl
b6926e8e2e Attempt to partition files to use all possible cores 2018-10-24 16:33:06 -07:00
Chris Kuehl
ba5e27e4ec Implement concurrent execution of individual hooks 2018-10-24 16:16:10 -07:00
Anthony Sottile
ead906aed0 Compute win32 python2 length according to encoded size 2018-10-23 22:02:48 -07:00
George Y. Kussumoto
c9e297ddb6 Fix xargs.partition: win32 new string length computation 2018-10-09 22:54:41 -03:00
George Y. Kussumoto
333ea75e45 Refactor xargs.partition: _command_length usage 2018-10-06 20:04:17 -03:00
George Y. Kussumoto
2ad69e12ce Fix xargs.partition: use sys.getfilesystemencoding
The previous `sys.getdefaultencoding` almost always fallsback to
`ascii` while `sys.getfilesystemencoding` is utf-8 once in utf-8 mode.
2018-10-05 16:39:49 -03:00
George Y. Kussumoto
fa4c03da65 Update xargs.partition with platform information
Change how xargs.partition computes the command length (including
arguments) depending on the plataform.
More specifically, 'win32' uses the amount of characters while posix
system uses the byte count.
2018-10-05 11:54:31 -03: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
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