Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ def skipped_dirs():
run(args=["git", "commit", "--no-verify", "--no-gpg-sign", "-m", msg], check=True)

# Install pre-commit
run(["pre-commit", "install"], check=True)
try:
run(["prek", "install"], check=True)
except FileNotFoundError:
run(["pre-commit", "install"], check=True)

# The following output was generated using rich
# The formatted output is included here directly, because I don't want
Expand Down
Loading