mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-14 17:41:45 +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.py | ||
| clean.py | ||
| gc.py | ||
| hazmat.py | ||
| hook_impl.py | ||
| init_templatedir.py | ||
| install_uninstall.py | ||
| migrate_config.py | ||
| run.py | ||
| sample_config.py | ||
| try_repo.py | ||
| validate_config.py | ||
| validate_manifest.py | ||