Anthony Sottile b1389603e0 Speed up filename filtering.
Before there was a `getcwd` syscall for every filename which was filtered.

Instead this is now cached per-run.

- When all files are identified by filename only: ~45% improvement
- When no files are identified by filename only: ~55% improvement

This makes little difference to overall execution, the bigger win is
eliminating the `memoize_by_cwd` hack.  Just removing the memoization would
have *increased* the runtime by 300-500%.
2019-01-23 20:48:41 -08:00
2019-01-23 20:48:41 -08:00
2019-01-23 20:48:41 -08:00
2018-05-25 15:00:32 -07:00
MIT
2014-06-05 08:57:40 -07:00
2018-01-13 18:17:54 -08:00
2018-04-30 09:33:20 -04:00
2019-01-10 16:04:07 -08:00
2018-12-31 14:06:10 -08:00

Build Status Coverage Status Build status

pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

For more information see: https://pre-commit.com/

Description
A framework for managing and maintaining multi-language pre-commit hooks.
Readme MIT 10 MiB
Languages
Python 97.3%
R 2%
Shell 0.5%