pre-commit/tests/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_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
clean_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
gc_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
hook_impl_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
init_templatedir_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
install_uninstall_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
migrate_config_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
run_test.py Add PRE_COMMIT_ALL_FILES environment variable 2022-02-17 18:52:18 -08:00
sample_config_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
try_repo_test.py drop python 3.6 support 2022-01-18 18:44:20 -05:00