提交 ba186e1d 编写于 作者: 朔-望's avatar 朔-望

Merge branch 'develop' of https://github.com/allonli/paddle-mobile into develop

......@@ -6,8 +6,7 @@ TOTAL_ERRORS=0
# The trick to remove deleted files: https://stackoverflow.com/a/2413151
for file in $(git diff --cached --name-status | awk '$1 != "D" {print $2}' | grep -v "third-party/" | grep -v ".pb."); do
python ./tools/pre-commit.hooks/run-clang-tidy.py $file;
echo "python ./tools/pre-commit.hooks/run-clang-tidy.py $file"
bash -c "python ./tools/pre-commit.hooks/run-clang-tidy.py $file -fix";
TOTAL_ERRORS=$(expr $TOTAL_ERRORS + $?);
done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册