-
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] trim trailing whitespace in .h, .cc, .cu, etc. #46006
[CodeStyle] trim trailing whitespace in .h, .cc, .cu, etc. #46006
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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 中的 clang-format 自动修复
本 PR 仅修改空格,无其余改动
…MakeLists.txt restore files in patches/
a71fac7
to
5ed27b0
Compare
|
本 PR 已 revert 了其余修改,其余修改将在后续 PR 中逐步完成 |
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 merge 后可考虑 merge #46067 (向 hook 添加 Doc 和 C++ 相关的后缀) |
PR types
Others
PR changes
Others
Describe
移除 .h .cc .cu .cpp .cmake CMakeLists.txt 文件的 trailing whitespace(除 patches/ 目录下),cuh 由于 cpplint 问题,暂不改动
微调 C++ 相关 pre-commit hooks 的配置,使其在全量文件上运行也可以通过