-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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][ruff] update ruff v0.0.287 and fix F401 #57124
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
"F403", # Open Later | ||
"F522", # Open Later | ||
"F811", # Open Later | ||
"F821", # Open Later | ||
"C408", # Open Later | ||
"C403", # Open Later | ||
"C405", # Open Later | ||
"C417", # Open Later | ||
"C411", # Open Later | ||
"C416", # Open Later | ||
"UP032", # Open Later | ||
"UP015", # Open Later | ||
"UP018", # Open Later | ||
"UP031", # Open Later | ||
"UP030", # Open Later | ||
"UP028", # Open Later | ||
"UP034", # Open Later | ||
"UP004", # Open Later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全局 ignore?为什么全局 ignore?这是有风险的
# "B006", # To be confirmed | ||
# "B007", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这俩不都是你调研的不适合引入的么 #51729
# "PLR1701", | ||
# "PLR1711", | ||
# "PLR1722", | ||
# "PLW3301", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PLR1701、PLR1722 应该是修复了但是忘记修改配置
PLR1711、PLW3301 是最近新增的是么
PR types
Others
PR changes
Others
Description
第一阶段
存量统计
升级
ruff
至 v0.0.287 并新增检查tracking issue
B006
需要单独确认是否添加B006 mutable-argument-default第二阶段
删除
exclude
中的./python/paddle/base/**
选项, 并修复已存在的所有检查相关文档
常用命令