Skip to content

[CodeStyle] black -> ruff format migration - part 17#74671

Merged
SigureMo merged 12 commits into
PaddlePaddle:developfrom
gouzil:ruff/fmt/part-17
Aug 17, 2025
Merged

[CodeStyle] black -> ruff format migration - part 17#74671
SigureMo merged 12 commits into
PaddlePaddle:developfrom
gouzil:ruff/fmt/part-17

Conversation

@gouzil

@gouzil gouzil commented Aug 17, 2025

Copy link
Copy Markdown
Member

PR Category

User Experience

PR Types

Not User Facing

Description

使用性能更好,格式化效果更佳的 ruff format 替代 black 作为新的 formatter,由于我们很早就已经集成了 ruff lint,因此只是减少依赖而不会增加依赖

@paddle-bot

paddle-bot Bot commented Aug 17, 2025

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot Bot added the contributor External developers label Aug 17, 2025

@SigureMo SigureMo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些 trailing comma 好蠢

Comment thread test/ir/inference/test_map_matmul_to_mul_pass.py Outdated
Comment thread test/ir/inference/test_map_matmul_to_mul_pass.py Outdated
Comment thread test/ir/inference/test_map_matmul_v2_to_matmul_pass.py Outdated
Comment thread test/ir/inference/test_map_matmul_v2_to_matmul_pass.py Outdated
Comment thread test/ir/inference/test_map_matmul_v2_to_mul_pass.py Outdated
Comment thread test/ir/inference/test_matmul_scale_fuse_pass.py Outdated
Comment thread test/ir/inference/test_matmul_scale_fuse_pass.py Outdated
Comment thread test/ir/inference/test_matmul_scale_fuse_pass.py Outdated
Comment thread test/ir/inference/test_matmul_v2_scale_fuse_pass.py Outdated
Comment thread test/ir/inference/test_transpose_flatten_concat_fuse_pass.py Outdated
@SigureMo SigureMo added HappyOpenSource 快乐开源活动issue与PR skip-ci: api-benchmark labels Aug 17, 2025
@SigureMo SigureMo merged commit e770b83 into PaddlePaddle:develop Aug 17, 2025
74 of 75 checks passed
@SigureMo SigureMo deleted the ruff/fmt/part-17 branch August 17, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource 快乐开源活动issue与PR skip-ci: api-benchmark

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants