Skip to content

Commit

Permalink
Simplify pre-commit call.
Browse files Browse the repository at this point in the history
  • Loading branch information
jevandezande committed May 15, 2024
1 parent 08b1aaf commit 82a9c9c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,7 @@ def install() -> None:

def git_hooks() -> None:
"""Install pre-commit and pre-push hooks."""
call(
"poetry run pre-commit install -t pre-commit",
"poetry run pre-commit install -t pre-push",
)
call("poetry run pre-commit install")


def git_initial_commit() -> None:
Expand Down

0 comments on commit 82a9c9c

Please sign in to comment.