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][py2][U004] unecessary explicit object inheritance in class definition #47642

Merged
merged 3 commits into from
Nov 8, 2022

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Nov 3, 2022

PR types

Others

PR changes

Others

Describe

清理显式继承自 object 的 class 中的 object

pip install ruff
ruff --select=U004 . --fix

相关问题与 U008(#47549,即 super 中不必要的参数)一致,这里不复述了

Related links

@paddle-bot
Copy link

paddle-bot bot commented Nov 3, 2022

你的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.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Nov 3, 2022
@luotao1 luotao1 self-assigned this Nov 3, 2022
@SigureMo SigureMo changed the title [WIP][CodeStyle][py2][U004] unecessary explicit object inheritance in class definition [CodeStyle][py2][U004] unecessary explicit object inheritance in class definition Nov 3, 2022
luotao1
luotao1 previously approved these changes Nov 4, 2022
XiaoguangHu01
XiaoguangHu01 previously approved these changes Nov 7, 2022
Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1
Copy link
Contributor

luotao1 commented Nov 7, 2022

请解决下冲突

@SigureMo SigureMo dismissed stale reviews from XiaoguangHu01 and luotao1 via aa981b0 November 7, 2022 06:20
@SigureMo
Copy link
Member Author

SigureMo commented Nov 7, 2022

请解决下冲突

已解决~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants