Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CodeStyle] Bump ruff to 0.3.0, remove flake8 and enable RUF100 #62782

Merged
merged 2 commits into from
Mar 17, 2024

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Mar 16, 2024

PR types

Others

PR changes

Others

Description

升级 Ruff 到 0.3.0,彻底移除 flake8,启用 RUF100

Note

为什么不使用最新的 0.3.3?或者 0.3.2、0.3.1?

  • 0.3.1 有大量的 UP032(f-string)需要修,需要新的 PR
  • 0.3.2 使用了 maturin 1.5.0 发布,wheel 包 metadata-version 为 2.3,Paddle 老旧的工具链很可能出啥问题……再等等……(会先在 docs 试水)

closes #60244

PCard-66972

Copy link

paddle-bot bot commented Mar 16, 2024

你的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 merged commit 79d2fdf into PaddlePaddle:develop Mar 17, 2024
30 checks passed
@SigureMo SigureMo deleted the ruff/bump-to-0-3-0 branch March 17, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ruff 升级的一些 TODO 汇总
2 participants