Skip to content

[CodeStyle][Ruff][BUAA][G-[31-40]] Fix ruff RUF005 diagnostic for 10 files in python/paddle/ - #67385

Merged
SigureMo merged 11 commits into
PaddlePaddle:developfrom
MufanColin:ruff_g31_g40
Aug 15, 2024
Merged

SigureMo merged 11 commits into
PaddlePaddle:developfrom
MufanColin:ruff_g31_g40

Conversation

@MufanColin

Copy link
Copy Markdown
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

@paddle-bot

paddle-bot Bot commented Aug 13, 2024

Copy link
Copy Markdown

你的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
Copy Markdown
Contributor Author

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

@MufanColin

Copy link
Copy Markdown
Contributor Author

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

@SigureMo SigureMo left a comment

Copy link
Copy Markdown
Collaborator

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
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