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,因此只是减少依赖而不会增加依赖

@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.

SigureMo
SigureMo previously approved these changes Aug 18, 2025
@SigureMo SigureMo added skip-ci: approval HappyOpenSource 快乐开源活动issue与PR labels Aug 18, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 88.11881% with 12 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/base/incubate/checkpoint/auto_checkpoint.py 0.00% 4 Missing ⚠️
python/paddle/base/compiler.py 40.00% 3 Missing ⚠️
python/paddle/base/framework.py 91.89% 3 Missing ⚠️
python/paddle/base/executor.py 85.71% 1 Missing ⚠️
...addle/base/incubate/checkpoint/checkpoint_saver.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (88.11%) 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   #74709   +/-   ##
==========================================
  Coverage           ?   88.11%           
==========================================
  Files              ?       20           
  Lines              ?      101           
  Branches           ?        0           
==========================================
  Hits               ?       89           
  Misses             ?       12           
  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 253e28b into PaddlePaddle:develop Aug 19, 2025
84 of 89 checks passed
@SigureMo SigureMo deleted the ruff/fmt/part-24 branch August 19, 2025 02:10
Luckycheng222 pushed a commit to Luckycheng222/Paddle that referenced this pull request Aug 25, 2025
…74709)

---------

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