MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / uninstall

Function uninstall

pre_commit/commands/install_uninstall.py:164–167  ·  view source on GitHub ↗
(config_file: str, hook_types: list[str] | None)

Source from the content-addressed store, hash-verified

162
163
164def uninstall(config_file: str, hook_types: list[str] | None) -> int:
165 for hook_type in _hook_types(config_file, hook_types):
166 _uninstall_hook_script(hook_type)
167 return 0

Calls 2

_hook_typesFunction · 0.85
_uninstall_hook_scriptFunction · 0.85