Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gouzil
Copy link
Member

@gouzil gouzil commented Aug 20, 2025

PR Category

User Experience

PR Types

Not User Facing

Description

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

@paddle-bot
Copy link

paddle-bot bot commented Aug 20, 2025

你的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 20, 2025
Comment on lines -74 to 80
sub_w = padding_data[
begin_pad
+ context_start
+ j
- pad_size : begin_pad
begin_pad + context_start + j - pad_size : begin_pad
+ context_start
+ j,
:,
Copy link
Member Author

Choose a reason for hiding this comment

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

这段格式化的真的太奇怪了

@SigureMo SigureMo added the HappyOpenSource 快乐开源活动issue与PR label Aug 20, 2025
@SigureMo SigureMo merged commit f46fe10 into PaddlePaddle:develop Aug 21, 2025
148 of 162 checks passed
@SigureMo SigureMo deleted the ruff/fmt/part-39 branch August 21, 2025 13:25
Luckycheng222 pushed a commit to Luckycheng222/Paddle that referenced this pull request Aug 25, 2025
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: all skip-ci: approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants