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][D-[1-6]] Fix ruff RUF015 diagnostic for 6 files in python/paddle/ #67225

Merged
merged 6 commits into from
Aug 9, 2024

Conversation

MufanColin
Copy link
Contributor

PR Category

User Experience

PR Types

Devs

Description

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

  • paddle/fluid/pir/dialect/op_generator/api_gen.py
  • python/paddle/base/dygraph/tensor_patch_methods.py
  • python/paddle/base/dygraph/tracer.py
  • python/paddle/base/framework.py
  • python/paddle/distributed/auto_parallel/static/reshard.py
  • python/paddle/distributed/fleet/utils/hybrid_parallel_inference.py

Related Links

@gouzil

Copy link

paddle-bot bot commented Aug 8, 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.

@MufanColin MufanColin changed the title [CodeStyle][Ruff][BUAA][D-[111-120]] Fix ruff RUF015 diagnostic for 10 files in python/paddle/ [CodeStyle][Ruff][BUAA][D-[1-6]] Fix ruff RUF015 diagnostic for 10 files in python/paddle/ Aug 8, 2024
@MufanColin MufanColin changed the title [CodeStyle][Ruff][BUAA][D-[1-6]] Fix ruff RUF015 diagnostic for 10 files in python/paddle/ [CodeStyle][Ruff][BUAA][D-[1-6]] Fix ruff RUF015 diagnostic for 6 files in python/paddle/ Aug 8, 2024
@gouzil gouzil requested a review from SigureMo August 8, 2024 15:52
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 🐾

@paddle-bot paddle-bot bot added the contributor External developers label Aug 8, 2024
@SigureMo SigureMo merged commit 7eb71dd into PaddlePaddle:develop Aug 9, 2024
30 of 31 checks passed
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