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][Ruff][BUAA][G-[31-40]] Fix ruff RUF005 diagnostic for 10 files in python/paddle/ #67385

Merged
merged 11 commits into from
Aug 15, 2024

Conversation

MufanColin
Copy link
Contributor

PR Category

User Experience

PR Types

Devs

Description

修复如下文件 RUF005 的 Ruff 规则:

  • python/paddle/distributed/ps/utils/public.py
  • python/paddle/distributed/transpiler/collective.py
  • python/paddle/distributed/utils/launch_utils.py
  • python/paddle/distribution/lkj_cholesky.py
  • python/paddle/distribution/multinomial.py
  • python/paddle/distribution/multivariate_normal.py
  • python/paddle/hapi/callbacks.py
  • python/paddle/incubate/distributed/fleet/parameter_server/distribute_transpiler/__init__.py
  • python/paddle/incubate/distributed/fleet/parameter_server/ir/pserver_pass.py
  • python/paddle/incubate/distributed/fleet/parameter_server/ir/trainer_pass.py

Related Links

@gouzil

Copy link

paddle-bot bot commented Aug 13, 2024

你的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 the contributor External developers label Aug 13, 2024
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Aug 14, 2024
@MufanColin
Copy link
Contributor Author

没过的测试好像都不是我修改的文件。

@MufanColin
Copy link
Contributor Author

剩余 fail 的测试无权限重新运行。

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

LGTMeow 🐾

@SigureMo SigureMo merged commit e8e7aa2 into PaddlePaddle:develop Aug 15, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants