Fix mypy issue

This commit is contained in:
Simon Segerblom Rex 2024-03-14 14:35:42 +01:00
parent 99b9676d45
commit 23cb1d3ac6

View file

@ -67,7 +67,7 @@ def _install_hook_script(
overwrite: bool = False,
skip_on_missing_config: bool = False,
git_dir: str | None = None,
) -> None:
) -> int:
hook_path, legacy_path = _hook_paths(hook_type, git_dir=git_dir)
# If the hooks directory is a symlink we need to be careful