Skip to content

Commit

Permalink
fix cpp lint
Browse files Browse the repository at this point in the history
Change-Id: I6ac0187119b025010c99adb7146e5e408574554e
  • Loading branch information
seiriosPlus committed Apr 16, 2021
1 parent ac024bb commit 555e13a
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 @@ -16,7 +16,7 @@ else
fi
# The trick to remove deleted files: https://stackoverflow.com/a/2413151
for file in $files; do
if [[ $file =~ ^(patches/.*) || $file =~ ^(thirdparty/.*) ]]; then
if [[ $file =~ ^(patches/.*) || $file =~ ^(paddle/fluid/distributed/thirdparty/.*) ]]; then
continue;
else
cpplint --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11 $file;
Expand Down

0 comments on commit 555e13a

Please sign in to comment.