Skip to content

Commit d6f6e02

Browse files
committed
no git in CI
1 parent 8252134 commit d6f6e02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

update_requirements.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,7 @@ pyenv rehash
4747
echo "pre-commit hooks install..."
4848
for f in .pre-commit-config.yaml */.pre-commit-config.yaml; do
4949
cd $DIR/$(dirname $f)
50-
$RUN pre-commit install
50+
if [ -e ".git" ]; then
51+
$RUN pre-commit install
52+
fi
5153
done

0 commit comments

Comments
 (0)