From 5ded39f226d9db0b391fa4d24fa92e21ed023044 Mon Sep 17 00:00:00 2001 From: wanghuancoder Date: Sun, 7 Feb 2021 10:16:41 +0800 Subject: [PATCH] fix cpplint cfg, test=develop (#30924) --- tools/codestyle/cpplint_pre_commit.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/codestyle/cpplint_pre_commit.hook b/tools/codestyle/cpplint_pre_commit.hook index 630aeb8caaf..c90bf29ecb7 100755 --- a/tools/codestyle/cpplint_pre_commit.hook +++ b/tools/codestyle/cpplint_pre_commit.hook @@ -19,7 +19,7 @@ for file in $files; do if [[ $file =~ ^(patches/.*) ]]; then continue; else - cpplint --filter=-readability/fn_size $file; + cpplint --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11 $file; TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?); fi done -- GitLab