-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
引入 clang-tidy Tracking Issue #64128
Comments
This was referenced May 8, 2024
【Hackathon 6th Fundable Projects 2 No.47】 performance-unnecessary-copy-initialization_1 -part
#64029
Merged
Open
This was referenced May 15, 2024
【报名】:35 |
【报名】:15、28、37、40 |
This was referenced May 16, 2024
Merged
Merged
【报名】:3、5、8、9、10、12、13、16 |
This was referenced May 16, 2024
Merged
【报名】:43、45 |
This was referenced May 18, 2024
This was referenced May 30, 2024
Merged
Merged
Merged
Open
Merged
Open
Merged
Merged
Open
Merged
Merged
Open
Merged
Open
Open
Merged
【Hackathon 6th Fundable Projects 2 No.29】 Fix modernize-concat-nested-namespaces-part-25-part
#64779
Merged
Merged
【报名】:11 |
【报名】:2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
一、 项目说明
主要是针对
PaddlePaddle
中引入clang-tidy
从而拦截clang-tidy
检查项的增量,并修复PaddlePaddle现存的存量,主要规则针对Pytorch
进行检测和修复。具体说明参照:【Hackathon 6th】引入 clang-tidy
二、 主要工作
由于本次任务主要是针对clang-tidy进行存量修复和增量拦截,并且目标是对标pytorch,因此首先对pytorch项目的clang-tidy方面进行了调研,根据pytorch的开启规则进行看齐,并且针对每一条规则都应尽量开启CI的拦截。
看板信息
1.任务调研
本次任务主要是将检查项开启数量对标pytorch,并且完成存量修复后进行增量拦截,因此,本次调研主要针对pytorch所开启的检查项,如下所示:
将所有规则展开后,其实
pytorch
开启了246条规则,后续我们需要对所有规则进行最新的clang-tidy
检测,从而针对每一条规则进行特定的修复,并且能够及时开启CI的检查,保证增量拦截的功能,防止无止境的修复。2. 存量修复相关
注:下表是2024/5/13针对上述
pytorch
规则进行的检查(去除0错误的检查项)3. 增量拦截相关
关于增量拦截相关任务,我们希望可以在CI中开启对检查项的增量拦截,因此我们可以按照错误为0以及错误非0的检查项进行分类,0检查项错误可以先开启CI的拦截规则,而非0错误项可以先进行存量修复,并通过流水线检测后进行CI的拦截。
注:下表是2024/5/13针对上述
pytorch
规则进行的检查(0错误的检查项)下表是需要进行存量修复后引入CI拦截的检查项(非0错误)
4.认领方式
请大家以 comment 的形式认领任务,如:
【报名】:1、3、12-13
多个任务之间需要使用
中文顿号
分隔,报名多个连续任务可用横线表示,如 2-5PR 提交格式:在 PR 的标题中以
【Hackathon 6th Fundable Projects 2 No.xxx】
开头,注明任务编号统计信息
The text was updated successfully, but these errors were encountered: