mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +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.py | ||
| clean.py | ||
| gc.py | ||
| hook_impl.py | ||
| init_templatedir.py | ||
| install_uninstall.py | ||
| migrate_config.py | ||
| run.py | ||
| sample_config.py | ||
| try_repo.py | ||