-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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][task 11] enable Ruff F403 rule in python/paddle/base/__init__.py
#57501
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
需要解决冲突 |
Done |
优先考虑将 |
pyproject.toml
Outdated
"UP030", | ||
"F522", | ||
"F403", | ||
"UP030", |
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.
还有这里是解决冲突又出问题了么
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.
只要考虑 __all__里面的symbol吧? |
嗯,但 paddle 嵌套了很多的 |
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.
这个 PR 整体 ok 了,不过 99% 和 #57413 会有冲突,那边冲突频率更高所以那边先合下,就委屈 o 师傅明天再解决下冲突了(可以记一下现在各个 import *
都改了什么,到时候 merge 后直接改即可)
另外这个 PR 是解决了全部 F403 么,是的话另一个 PR 是不是可以 close 了?
python/paddle/base/__init__.py
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.
LGTMeow 🐾
PR types
Others
PR changes
Others
Description
enable Ruff F403 rule in python/paddle/base/init.py
@gouzil
framework
executor
这个test算是保留要
from .executor import *
吗compiler
删除
from .data_feed_desc import *
结果[CodeStyle] Ruff upgrade and addition of
paddle.base
check #57367