mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +04:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| autoupdate_test.py | ||
| clean_test.py | ||
| gc_test.py | ||
| hook_impl_test.py | ||
| init_templatedir_test.py | ||
| install_uninstall_test.py | ||
| migrate_config_test.py | ||
| run_test.py | ||
| sample_config_test.py | ||
| try_repo_test.py | ||