Skip to content

Commit 79d8c6d

Browse files
Add missing early return
1 parent 888d09b commit 79d8c6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/usethis/_integrations/pre_commit

src/usethis/_integrations/pre_commit/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def install_pre_commit_hooks() -> None:
2525
"""
2626
if usethis_config.frozen:
2727
box_print("Run 'uv run pre-commit install' to register pre-commit with git.")
28+
return
2829

2930
tick_print("Ensuring pre-commit is installed to Git.")
3031
try:

0 commit comments

Comments
 (0)