[CodeStyle][Docs] Sync ast-grep and typos versions in codestyle guide#7908
Open
ShigureNyako wants to merge 2 commits into
Open
[CodeStyle][Docs] Sync ast-grep and typos versions in codestyle guide#7908ShigureNyako wants to merge 2 commits into
ShigureNyako wants to merge 2 commits into
Conversation
Co-authored-by: Codex <noreply@openai.com>
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7908.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
Contributor
Author
|
@SigureMo 麻烦 review。 已自查:本 PR 只同步 PaddlePaddle/Paddle#79193 的 typos 版本,diff 仅包含两处 本地验证已通过:
当前 GitHub Actions 中 Codestyle/Preview job 未启动,annotation 为 |
📚 本次 PR 文档预览链接(点击展开)
|
Contributor
Author
|
补充同步进展:PaddlePaddle/Paddle#79382 已合入,当前这个 docs PR 已同时同步两项代码风格工具版本:
已追加增量 commit,不涉及 amend/force-push。当前 GitHub Actions 中 |
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.
同步 PaddlePaddle/Paddle 中代码风格工具版本:
typostov1.47.0Paddle#79193:将 typos 升级到v1.47.0v0.44.0变更:
.pre-commit-config.yaml:typos-pre-commit-mirror从v1.45.0升级到v1.47.0docs/dev_guides/git_guides/codestyle_check_guide_cn.md:同步 typos 工具版本说明到1.47.0docs/dev_guides/git_guides/codestyle_check_guide_cn.md:同步 ast-grep 工具版本说明到0.44.0验证:
pre-commit validate-config .pre-commit-config.yamlpre-commit run typos --files .pre-commit-config.yaml docs/dev_guides/git_guides/codestyle_check_guide_cn.mdpre-commit run yamlfmt --files .pre-commit-config.yamlgit diff --cached --check -- .pre-commit-config.yaml docs/dev_guides/git_guides/codestyle_check_guide_cn.mdgit diff --check -- docs/dev_guides/git_guides/codestyle_check_guide_cn.md