(hook_type: str, force: bool, append: bool)
return create_hook(
        hook_dir_path=".git/hooks",
        force=force,
        local_hook_support=False,
        hook_type=hook_type,
        append=append,
    )
Local pre-commit/pre-push hook installation.
Local pre-commit/pre-push hook installation.
Local pre - commit / pre - push hook installation .
def install_local(hook_type: str, force: bool, append: bool) -> int:
    """Local pre-commit/pre-push hook installation."""
    check_git_dir()
    return create_hook(
        hook_dir_path=".git/hooks",
        force=force,
        local_hook_support=False,
        hook_type=hook_type,
        append=append,
    )
def install_local ( hook_type : str , force : bool , append : bool ) -> int : check_git_dir ( ) return create_hook ( hook_dir_path = ".git/hooks" , force = force , local_hook_support = False , hook_type = hook_type , append = append , )