update_requirements: skip pre-commit install on mac

pull/26846/head
Adeeb Shihadeh 2 years ago
parent e018098571
commit 28d0459c69
  1. 2
      update_requirements.sh

@ -69,6 +69,7 @@ else
RUN="poetry run"
fi
if [ "$(uname)" != "Darwin" ]; then
echo "pre-commit hooks install..."
shopt -s nullglob
for f in .pre-commit-config.yaml */.pre-commit-config.yaml; do
@ -77,3 +78,4 @@ for f in .pre-commit-config.yaml */.pre-commit-config.yaml; do
$RUN pre-commit install
fi
done
fi

Loading…
Cancel
Save