mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Fix mypy issue
This commit is contained in:
parent
99b9676d45
commit
23cb1d3ac6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue