Skip to content

[CodeStyle][Ruff][BUAA][G-[11-20]] Fix ruff RUF005 diagnostic for 10 files in python/paddle/ - #67363

Merged
SigureMo merged 10 commits into
PaddlePaddle:developfrom
MufanColin:ruff_g11_g20
Aug 13, 2024
Merged

SigureMo merged 10 commits into
PaddlePaddle:developfrom
MufanColin:ruff_g11_g20

Conversation

@MufanColin

Copy link
Copy Markdown
Contributor

PR Category

User Experience

PR Types

Devs

Description

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

  • python/paddle/dataset/wmt14.py
  • python/paddle/dataset/wmt16.py
  • python/paddle/device/__init__.py
  • python/paddle/distributed/auto_parallel/static/callbacks.py
  • python/paddle/distributed/auto_parallel/static/cost/base_cost.py
  • python/paddle/distributed/auto_parallel/static/operators/dist_embedding.py
  • python/paddle/distributed/auto_parallel/static/parallelizer.py
  • python/paddle/distributed/auto_parallel/static/reshard.py
  • python/paddle/distributed/auto_parallel/static/tuner/optimization_tuner.py
  • python/paddle/distributed/auto_parallel/static/tuner/parallel_tuner.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.

@luotao1 luotao1 added contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 labels Aug 13, 2024

@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 3a9f24f into PaddlePaddle:develop Aug 13, 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