pre-commit/pre_commit/commands
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
..
__init__.py Move commands into their own files. 2014-06-13 19:52:14 -07:00
autoupdate.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
clean.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
gc.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
hook_impl.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
init_templatedir.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
install_uninstall.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
migrate_config.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
run.py Add PRE_COMMIT_ALL_FILES environment variable 2022-02-17 18:52:18 -08:00
sample_config.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
try_repo.py drop python 3.6 support 2022-01-18 18:44:20 -05:00