Skip to content

[CodeStyle][Ruff] rename pre-commit id ruff -> ruff-check #73060

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

gouzil
Copy link
Member

@gouzil gouzil commented Jun 3, 2025

PR Category

User Experience

PR Types

Improvements

Description

see: astral-sh/ruff-pre-commit#123

@gouzil gouzil requested a review from SigureMo as a code owner June 3, 2025 08:04
Copy link

paddle-bot bot commented Jun 3, 2025

你的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 Jun 3, 2025
@gouzil gouzil requested review from Copilot and SigureMo and removed request for SigureMo June 3, 2025 08:04
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR renames the pre-commit hook ID for Ruff from ruff to ruff-check to align with upstream changes.

  • Updated the hook ID in the pre-commit configuration.
Comments suppressed due to low confidence (1)

.pre-commit-config.yaml:65

  • After renaming the hook ID, ensure all occurrences of ruff in documentation, CI scripts, and other configuration files are updated to ruff-check to prevent broken references.
      - id: ruff-check

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 🐾

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 479b646 into PaddlePaddle:develop Jun 4, 2025
49 checks passed
@SigureMo SigureMo deleted the ruff/rename_ruff_check branch June 4, 2025 06:10
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.

2 participants