-
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][CINN] ruff F401 and F403 in python/cinn #55182
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
python/cinn/common.py
Outdated
Void, | ||
make_const, | ||
) | ||
from .core_api.common import * # noqa: F401 |
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.
这行本来也不会报 F401 吧?只会报 F403 吧?
不过没关系,之后要展开这个 *
的,这个 PR 就不要改了
python/cinn/common.py
Outdated
from .core_api.common import Type # noqa: F401 | ||
from .core_api.common import UInt # noqa: F401 | ||
from .core_api.common import Void # noqa: F401 | ||
from .core_api.common import make_const # noqa: F401 |
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.
这里我记得可以直接这样写:
from a import ( # noqa: F401
b,
c,
d,
)
奇了个怪怪,PR-CI-Inference 明明过了但一直 Pending,@Liyulingyue rerun 一下吧 |
很抱歉,经过我们的反复讨论,你的PR暂未达到合入标准,请阅读飞桨原生算子开发规范,你可以重新提交新的PR,我们先将此PR关闭,感谢你的贡献。 |
@Liyulingyue 麻烦 rerun 下挂掉的 CI |
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.
LGTM
Co-authored-by: SigureMo <[email protected]>
PR types
Others
PR changes
Others
Description
#54953 case 12