[CodeStyle] Bump Ruff to v0.16.0 and sync tooling docs#7923
Open
ShigureNyako wants to merge 2 commits into
Open
[CodeStyle] Bump Ruff to v0.16.0 and sync tooling docs#7923ShigureNyako wants to merge 2 commits into
ShigureNyako wants to merge 2 commits into
Conversation
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7923.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
📚 本次 PR 文档预览链接(点击展开)
|
Contributor
Author
|
已完成自 review:
@SigureMo 请 review,谢谢。 |
SigureMo
approved these changes
Jul 25, 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.
同步 PaddlePaddle/Paddle#79546 的代码检查工具版本:
0.15.0升级到0.16.0;0.44.0更新为0.45.0;0.15.0更新为0.16.0;ruff format时批量改写文档代码块。ast-grep 未作为 docs 仓库的 pre-commit hook 引入,指南中的版本仅用于同步 Paddle 仓库的实际配置。
本地验证:
git diff --check通过。