From 06944165d03ba7081f857338395337c544954cca Mon Sep 17 00:00:00 2001 From: HaraldSchafer Date: Wed, 29 Sep 2021 19:05:11 -0700 Subject: [PATCH] notebook precommit install (#22382) * notebook precommit install * Update update_requirements.sh Co-authored-by: Adeeb Shihadeh --- update_requirements.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update_requirements.sh b/update_requirements.sh index 313d2e3f9d..c9cda377af 100755 --- a/update_requirements.sh +++ b/update_requirements.sh @@ -39,4 +39,7 @@ pyenv rehash echo "precommit install ..." pre-commit install -[ -d "./xx" ] && cd xx && pre-commit install \ No newline at end of file + +# for internal comma repos +[ -d "./xx" ] && (cd xx && pre-commit install) +[ -d "./notebooks" ] && (cd notebooks && pre-commit install)