mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
Previously, `pre-commit uninstall` without `-t` only removed hooks listed in `default_install_hook_types` from the config. This meant hooks installed with e.g. `-t pre-push` would not be removed unless `-t pre-push` was explicitly passed to uninstall. Now, when `-t` is not specified, uninstall scans all known hook types and removes any that are managed by pre-commit (via `is_our_script`). Fixes #364 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| autoupdate_test.py | ||
| clean_test.py | ||
| gc_test.py | ||
| hazmat_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 | ||
| validate_config_test.py | ||
| validate_manifest_test.py | ||