pre-commit/pre_commit
Jameel Al-Aziz e03b5eb218
Add PRE_COMMIT_ALL_FILES environment variable
Add a `PRE_COMMIT_ALL_FILES` environment variable to allow hooks to
determine if pre-commit was called with `--all-files`. This can be
useful if different behavior is desired when running pre-commit over all
files vs only staged files.
2022-02-17 18:52:18 -08:00
..
commands Add PRE_COMMIT_ALL_FILES environment variable 2022-02-17 18:52:18 -08:00
languages drop python 3.6 support 2022-01-18 18:44:20 -05:00
meta_hooks drop python 3.6 support 2022-01-18 18:44:20 -05:00
resources drop python 3.6 support 2022-01-18 18:44:20 -05:00
__init__.py Initial commit. 2014-03-12 20:25:19 -07:00
__main__.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
clientlib.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
color.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
constants.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
envcontext.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
error_handler.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
errors.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
file_lock.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
git.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
hook.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
logging_handler.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
main.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
output.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
parse_shebang.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
prefix.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
repository.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
staged_files_only.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
store.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
util.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
xargs.py drop python 3.6 support 2022-01-18 18:44:20 -05:00