From 8e70f00ef468d2dad0e38b3da06295ed62990d20 Mon Sep 17 00:00:00 2001 From: SigureMo Date: Sat, 24 Dec 2022 14:29:30 +0800 Subject: [PATCH] temporarily change the num_diff_files limit, test=document_fix --- tools/codestyle/pre_commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/codestyle/pre_commit.sh b/tools/codestyle/pre_commit.sh index adc1ce1b54305c..77bfcee13a07b7 100755 --- a/tools/codestyle/pre_commit.sh +++ b/tools/codestyle/pre_commit.sh @@ -52,7 +52,7 @@ if [ ${check_error} != 0 ];then echo " pip install pre-commit==2.17.0" echo " pre-commit install" echo "" - if [[ $num_diff_files -le 100 ]];then + if [[ $num_diff_files -le 200 ]];then echo "Then, run pre-commit to check codestyle issues in your PR:" echo "" echo " pre-commit run --files" $(echo ${diff_files} | tr "\n" " ")