[CodeStyle][Ast-grep] Bump ast-grep to v0.44.0#79382
Merged
SigureMo merged 1 commit intoJun 27, 2026
Merged
Conversation
Contributor
Author
|
@SigureMo 麻烦 review。 已自查:本 PR 只升级 ast-grep 相关版本,diff 限于两处:
本地验证已通过:
同步说明:PaddlePaddle/docs#7908 已追加增量 commit,将代码风格指南中的 ast-grep 版本同步到 CI 初步状态: |
risemeup1111
left a comment
Contributor
There was a problem hiding this comment.
未发现代码改动本身需要阻塞合入的问题;Pre Commit 中的 ast-grep 0.44.0 测试和 hook 均已通过。还有一个 PR 描述字段导致模板检查失败,需要在合入前修正:
优先级:P3 非行级:PR 描述不在 diff 中。当前
Check PR Template失败,日志显示PR Types的值为Devs / Not User Facing,但模板检查只接受逗号分隔的枚举项。请将 PR 描述里的### PR Types改为Devs, Not User Facing,让模板检查恢复通过。
Powered by Nyanpasu with gpt-5.5 xhigh, please check the suggestions carefully.
risemeup1111
approved these changes
Jun 26, 2026
risemeup1111
left a comment
Contributor
There was a problem hiding this comment.
已复查更新后的 PR 描述,之前 PR Types 导致模板检查失败的问题已解决;后续 Check PR Template 也已通过。当前 diff 仍是 ast-grep 版本同步,未发现需要阻塞合入的代码问题;剩余运行中的 CI 以最终结果为准。
Powered by Nyanpasu with gpt-5.5 xhigh, please check the suggestions carefully.
SigureMo
approved these changes
Jun 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Category
User Experience
PR Types
Devs
Description
升级代码风格检查使用的
ast-grep到v0.44.0:.pre-commit-config.yaml中PFCCLab/ast-grep-pre-commit-mirror更新到v0.44.0ast-grep test的ast-grep-cli更新到0.44.0同步说明:PaddlePaddle/docs#7908 已追加普通增量 commit,将代码风格指南中的
ast-grep版本同步到0.44.0。本地验证:
ast-grep testpre-commit run ast-grep --all-filesgit diff --check -- .pre-commit-config.yaml .github/workflows/Codestyle-Check.yml是否引起精度变化
否