fix pre-commit install when subdirectories don't have a config

old-commit-hash: a958213ec7
taco
Adeeb Shihadeh 3 years ago
parent 5af4ebb7ce
commit 66e4826dac
  1. 1
      update_requirements.sh

@ -45,6 +45,7 @@ pipenv install --dev --deploy --clear
pyenv rehash
echo "pre-commit hooks install..."
shopt -s nullglob
for f in .pre-commit-config.yaml */.pre-commit-config.yaml; do
cd $DIR/$(dirname $f)
if [ -e ".git" ]; then

Loading…
Cancel
Save