已开启
修改 pre-commit 配置中的 clang-tidy 检查参数 #81
huangxiaojun创建于 4 天前
4 天前 添加了label:sig/sig-UB-ServiceCore
openeuler-ci-bot
4 天前 评论:
4 天前 评论:
Welcome To openEuler Community
Hey @huangxiaojun , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
Contact Guide
If you have any questions, please contact the SIG: sig-UB-ServiceCore ,
and any of the maintainers: @Gao_Victor, @caowaterman, @hlinbo, @qmyyxtl, @shw030915 ,
and any of the committers: @HJLi96, @NotCold, @areigonglei, @yutao88 .


移除 clang-tidy 的 -i 参数,避免检查过程中自动修改源码文件。
增加 --dry-run 参数,仅执行检查,不修改代码。
增加 --Werror 参数,将 warning 提升为 error,确保代码问题能够在 CI 阶段被发现。