no git in CI

old-commit-hash: d6f6e024b3fca004dd93b07892a31470ce2c8cf3
This commit is contained in:
Adeeb Shihadeh
2022-03-13 16:37:53 -07:00
parent d6b95f3d2c
commit 5af4ebb7ce
+3 -1
View File
@@ -47,5 +47,7 @@ pyenv rehash
echo "pre-commit hooks install..."
for f in .pre-commit-config.yaml */.pre-commit-config.yaml; do
cd $DIR/$(dirname $f)
$RUN pre-commit install
if [ -e ".git" ]; then
$RUN pre-commit install
fi
done