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][F401] remove unused import in unittests/xpu #46783

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Oct 8, 2022

PR types

Others

PR changes

Others

Describe

修复 python/paddle/fluid/tests/unittests/npu/ 目录 F401(unused import)存量

autoflake --in-place --remove-all-unused-imports --ignore-pass-after-docstring --exclude=__init__.py --recursive ./python/paddle/fluid/tests/unittests/xpu/

参考 #44988 (comment) 加了 test=kunlun 以触发相关流水线

Related links

@paddle-bot
Copy link

paddle-bot bot commented Oct 8, 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 Oct 8, 2022
@SigureMo SigureMo changed the title [WIP][CodeStyle][F401] remove unused import in unittests/xpu, test=kunlun [WIP][CodeStyle][F401] remove unused import in unittests/xpu Oct 8, 2022
@SigureMo SigureMo changed the title [WIP][CodeStyle][F401] remove unused import in unittests/xpu [CodeStyle][F401] remove unused import in unittests/xpu Oct 8, 2022
@luotao1 luotao1 self-assigned this Oct 10, 2022
Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@raindrops2sea raindrops2sea 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 luotao1 merged commit 72fecaa into PaddlePaddle:develop Oct 12, 2022
@SigureMo SigureMo deleted the F401/fix/unittests-xpu branch October 12, 2022 03:32
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.

[F401] python/paddle/fluid/tests/unittests/xpu
3 participants