已关闭
扩展pre-commit hooks (第二批目录) #4174
Water8L创建于 7月8日关闭于 7月9日
扩展pre-commit hooks (第二批目录) #4174
已关闭
Water8L创建于 7月8日关闭于 7月9日
Water8L成员
7月8日

描述

在.pre-commit-config.yaml中增加trailing-whitespace和end-of-file-fixer hook,并修改impl/other + tests/api/other impl/matmul + impl/hccl + tests/other tests/api/basic_api + examples/basic_api目录下对应不合规范的文件

关联的Issue

测试

文档更新

类型标签

likedislike
当前Pull Request已关闭, 关闭人@Water8L
WWater8L成员
7月8日 创建了 pull request,commit 1f4c5857
atomgit-bot
atomgit-bot
7月8日 评论:

🤖 正在生成合并请求摘要,请稍候…

likedislike
atomgit-bot
atomgit-bot
7月8日 评论:

🤖 AI 代码检视正在进行中,请稍候…

likedislike
CANN-robotCANN-robot成员
7月8日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
7月8日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)

Module Approval Details

module lgtm status approve status
examples ❌ (0/2)(You can also ask: 苏建加, jiangxinyu3, kong0808, YANXI_ZHAO, 石楠翔) ❌ (0/1)(You can also ask: changxianyu, bianque, YANXI_ZHAO, munanhw, ai_xin)
impl/basic_api ❌ (0/2)(You can also ask: bianque, wangxiaozhi, YeZZzzz1, XuebinYang, 诸葛洵) ❌ (0/1)(You can also ask: chenyiyuan, wuyang_hw, hujiawen_kaven)
impl/c_api ❌ (0/2)(You can also ask: YeZZzzz1, pangfd, wulinyu, DragonBornHD84, 黄金华) ❌ (0/1)(You can also ask: pangfd, yue_mo_du_qian)
impl/simt_api ❌ (0/2)(You can also ask: houyuyang, wangxiaozhi, 诸葛洵, 苏建加, 石楠翔) ❌ (0/1)(You can also ask: wangxiaozhi, wulinyu)
impl/tensor_api ❌ (0/2)(You can also ask: chenyiyuan, wangxiaozhi, YeZZzzz1, yangbinhua, houyuyang) ❌ (0/1)(You can also ask: yue_mo_du_qian, hyolee, pangfd)
include/adv_api ❌ (0/2)(You can also ask: bianque, sjtulxh, kong0808, zengjuan, YeZZzzz1) ❌ (0/1)(You can also ask: 黄金华, wuzhaolin)
include/basic_api ❌ (0/2)(You can also ask: wuzhaolin, dengjing_aoe, chenyiyuan, houyuyang, 诸葛洵) ❌ (0/1)(You can also ask: 黄金华, wuzhaolin)
include/basic_api/reg_compute ❌ (0/2)(You can also ask: hujiawen_kaven, dengjing_aoe, zengjuan, hyolee, kong0808) ❌ (0/1)(You can also ask: horming, 黄金华)
include/c_api ❌ (0/2)(You can also ask: XuebinYang, kong0808, yukangchen, wangxiaozhi, 苏建加) ❌ (0/1)(You can also ask: 黄金华, wuzhaolin)
include/c_api/reg_compute ❌ (0/2)(You can also ask: hujiawen_kaven, bianque, zhudi22, bluesky901, horming) ❌ (0/1)(You can also ask: 黄金华, horming)
repo-cann/asc-devkit ❌ (0/2)(You can also ask: yangbinhua, zhudi22, 诸葛洵, bluesky901, yukangchen) ❌ (0/1)(You can also ask: hyolee, 黄金华, sjtulxh, zengjuan, 苏建加)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

Water8L, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
7月8日 添加了label:stat/needs-squash
WWater8L成员
7月8日 修改了pull request 的描述
Water8L成员
7月8日 评论:

compile

likedislike
CANN-robotCANN-robot成员
7月8日 将zengjuan,zhanghao_0689,wulinyu,horming,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,yue_mo_du_qian,bianque,houyuyang,pangfd,YANXI_ZHAO,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,DragonBornHD84,hyolee,wuzhaolin设为评审人
CANN-robotCANN-robot成员
7月8日 将zengjuan,zhanghao_0689,wulinyu,horming,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,yue_mo_du_qian,bianque,houyuyang,pangfd,YANXI_ZHAO,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,DragonBornHD84,hyolee,wuzhaolin设为审查人
WWater8L成员
7月8日 update merge request[project id: 8547062, iid: 4174, commit_id: f9d94226438cdcbd48d7ea61a896098e44b13c7d] virtual merging success
CANN-robotCANN-robot成员
7月8日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
7月8日 评论:

流水线任务触发成功
任务链接 [78c63794f14f4112b876ec12d5c1d7e7][流水线指导]

任务名称状态日志下载链接
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ⚠️ WARNING >>>>>
codecheck_precommit ✅ SUCCESS >>>>>

[2026-07-08 17:41:49]    CI执行结束

likedislike
gao_dafa成员
7月8日 评论:

Water8L,感谢您的提交,建议在完成PR充分自验证后,再触发线上构建任务。

若您的PR已具备检视条件,可根据下表的责任田,@对应的committer进行代码检视,我们会在第一时间对您的提交进行处理。

代码责任田:

module committer
adv_api chenyiyuan, wuyang_hw
basic_api chenyiyuan, wuyang_hw
c_api pangfd, yue_mo_du_qian
cmake xun_zhuge, DragonBornHD84
docs munanhw, ai_xin
examples changxianyu, bianque
simt_api wulinyu, zhanghao_0689
scripts xun_zhuge, kevin365
tools YANXI_ZHAO, XuebinYang, sjtulxh

💡 如您不确定可以@谁,可以直接@我或者ascend-c sig的maintainer,xun_zhugeascendhjh,我们会为您分配合适的committer进行代码检视。

再次感谢您参与CANN的社区贡献。

likedislike
CANN-robot
CANN-robot成员
7月8日 评论:

流水线任务触发成功
任务链接 [b84e749fef08445db7e92c34c1a1d844][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
PreSmoke_A900_npupool ✅ SUCCESS >>>>>

[2026-07-08 17:51:22]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月8日 评论:

流水线任务触发成功
任务链接 [889fe8fa92a94547832fbff0c5a47dd8][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
UT_Test_adv_test_one ✅ SUCCESS
UT_Test_adv_test_two ✅ SUCCESS
UT_Test_basic_test_one ✅ SUCCESS
UT_Test_basic_test_two ✅ SUCCESS
UT_Test_basic_test_three ❌ FAILED
UT_Test_basic_test_four ✅ SUCCESS
UT_Test_basic_test_five ✅ SUCCESS
UT_Test_arm ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>
likedislike
CANN-robotCANN-robot成员
7月8日 添加了label:api-check-pass
CANN-robotCANN-robot成员
7月8日 删除了label:api-check-pass
CANN-robotCANN-robot成员
7月8日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
7月8日 添加了label:ci-pipeline-failed
atomgit-bot
atomgit-bot
7月8日 评论:

⚠️ 本次变更过大(1733 个文件、5901 行),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。

likedislike
atomgit-bot
atomgit-bot
7月8日 评论:

⚠️ 本次变更过大(1733 个文件、5901 行),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。

likedislike
WWater8L成员
7月9日 关闭了 pull request