-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CodeStyle] add more information when codestyle check failed #47116
[CodeStyle] add more information when codestyle check failed #47116
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
echo "Then, run pre-commit to check codestyle issues in your PR:" | ||
echo "" | ||
echo " pre-commit run --files" $(echo ${diff_files[*]} | tr "\n" " ") | ||
echo "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其余两个文件目前只是用于触发 pre-commit 测试效果,如果没有问题就可以直接恢复了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 可以恢复两个修改文件
已恢复~ |
PR types
Others
PR changes
Others
Describe
详情见 #46808 (comment)
为 codestyle check 失败时添加更多的提示信息,包括:
除去
tools/codestyle/pre_commit.sh
的改动都是用来测试的,将会在之后恢复