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

old-commit-hash: a958213ec75bf7f4020ea786e903156a678abd43
This commit is contained in:
Adeeb Shihadeh
2022-03-13 20:00:23 -07:00
parent 5af4ebb7ce
commit 66e4826dac
+1
View File
@@ -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