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
14 changes: 14 additions & 0 deletions hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/sh
# Script to verify what is about to be committed.

# If any command fails, exit immediately with that command's exit status
set -eo pipefail

make format
echo "Code formatting step passed"

make verify
echo "Code verification and linting passed"

make check-types
echo "Type hints verification passed"