KEMBAR78
[CodeStyle] `black -> ruff format` migration - part 27 by gouzil · Pull Request #74714 · PaddlePaddle/Paddle · GitHub
Skip to content

Conversation

@gouzil
Copy link
Member

@gouzil gouzil commented Aug 18, 2025

PR Category

User Experience

PR Types

Not User Facing

Description

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

@gouzil gouzil requested a review from SigureMo as a code owner August 18, 2025 13:51
@paddle-bot
Copy link

paddle-bot bot commented Aug 18, 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 18, 2025
@SigureMo SigureMo added HappyOpenSource 快乐开源活动issue与PR skip-ci: approval labels Aug 18, 2025
SigureMo
SigureMo previously approved these changes Aug 18, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 68.75000% with 10 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@a5d987e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...paddle/distributed/communication/deep_ep/buffer.py 0.00% 2 Missing ⚠️
...thon/paddle/distributed/communication/broadcast.py 0.00% 1 Missing ⚠️
...dle/distributed/communication/stream/all_gather.py 0.00% 1 Missing ⚠️
...ddle/distributed/communication/stream/broadcast.py 0.00% 1 Missing ⚠️
...on/paddle/distributed/communication/stream/recv.py 0.00% 1 Missing ⚠️
.../paddle/distributed/communication/stream/reduce.py 0.00% 1 Missing ⚠️
...distributed/communication/stream/reduce_scatter.py 0.00% 1 Missing ⚠️
...paddle/distributed/communication/stream/scatter.py 0.00% 1 Missing ⚠️
...on/paddle/distributed/communication/stream/send.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (68.75%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #74714   +/-   ##
==========================================
  Coverage           ?   68.75%           
==========================================
  Files              ?       19           
  Lines              ?       32           
  Branches           ?        0           
==========================================
  Hits               ?       22           
  Misses             ?       10           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SigureMo SigureMo merged commit 00f6730 into PaddlePaddle:develop Aug 19, 2025
81 of 84 checks passed
@SigureMo SigureMo deleted the ruff/fmt/part-27 branch August 19, 2025 02:57
Luckycheng222 pushed a commit to Luckycheng222/Paddle that referenced this pull request Aug 25, 2025
…74714)

---------

Co-authored-by: SigureMo <sigure.qaq@gmail.com>
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: approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants