MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / is_pre_commit_installed

Function is_pre_commit_installed

commitizen/project_info.py:20–22  ·  view source on GitHub ↗

Return whether any supported hook installer is on PATH.

()

Source from the content-addressed store, hash-verified

18
19
20def is_pre_commit_installed() -> bool:
21 """Return whether any supported hook installer is on PATH."""
22 return bool(available_hook_installers())
23
24
25def get_default_version_provider() -> Literal[

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected