Skip to content

Commit

Permalink
fix cpp lint
Browse files Browse the repository at this point in the history
Change-Id: Ia21fafa65adc09bb9094f7dbc987e31d5af2686e
  • Loading branch information
seiriosPlus committed Apr 16, 2021
1 parent 555e13a commit 427c272
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 =~ ^(paddle/fluid/distributed/thirdparty/.*) ]]; then
if [[ $file =~ ^(patches/.*) ]]; then
continue;
else
cpplint --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11 $file;
Expand Down

1 comment on commit 427c272

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.