add back pre-commit hook (#33366)

* add pre-commit

* space

* post

* e
old-commit-hash: b87414c749
This commit is contained in:
Maxime Desroches
2024-08-23 15:19:21 -07:00
committed by GitHub
parent 7098ddcd19
commit 8ff2785fb9
3 changed files with 42 additions and 22 deletions

7
scripts/post-commit Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
if [[ -f .git/hooks/post-commit.d/post-commit ]]; then
.git/hooks/post-commit.d/post-commit
fi
tools/op.sh lint --fast
echo ""