Skip to content

Commit

Permalink
filter whitespace/parent since clang-format has similar function (#43978
Browse files Browse the repository at this point in the history
)
  • Loading branch information
betterpig committed Jul 1, 2022
1 parent 7499f96 commit 9f397f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/codestyle/cpplint_pre_commit.hook
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for file in $files; do
if [[ $file =~ ^(patches/.*) ]]; then
continue;
else
cpplint --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11 $file;
cpplint --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11,-whitespace/parens $file;
TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?);
fi
done
Expand Down

0 comments on commit 9f397f1

Please sign in to comment.