Skip to content

Conversation

@SigureMo
Copy link
Member

@SigureMo SigureMo commented Jun 26, 2025

PR Category

User Experience

PR Types

Improvements

Description

引入 Ruff SIM1171,将连续多个 with 语句合并为一个,减少代码缩进层级,此为 part3(final part)

Tracker

Footnotes

  1. https://docs.astral.sh/ruff/rules/multiple-with-statements/

@SigureMo SigureMo requested a review from gouzil as a code owner June 26, 2025 17:11
@paddle-bot
Copy link

paddle-bot bot commented Jun 26, 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
Copy link
Member Author

/skip-reason #73685 会禁掉该单测

@SigureMo SigureMo merged commit bb0cc74 into PaddlePaddle:develop Jun 29, 2025
234 of 255 checks passed
@SigureMo SigureMo deleted the ruff/sim117-part3 branch June 29, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment