Skip to content

update pre-commit config #258

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

GreatV
Copy link

@GreatV GreatV commented Mar 1, 2025

This pull request updates the .pre-commit-config.yaml file to replace and add pre-commit hooks, as well as update the versions of existing hooks. The most important changes include switching from yapf to black for Python formatting, adding the ruff hook, and updating the version of the pre-commit-hooks and Lucas-C/pre-commit-hooks repositories.

Updates to pre-commit hooks:

  • Replaced the yapf hook with the black hook for Python formatting (.pre-commit-config.yaml).
  • Added the ruff hook with the --fix argument (.pre-commit-config.yaml).

Version updates:

  • Updated the pre-commit-hooks repository to version v5.0.0 (.pre-commit-config.yaml).
  • Updated the Lucas-C/pre-commit-hooks repository to version v1.5.5 (.pre-commit-config.yaml).

Copy link

paddle-bot bot commented Mar 3, 2025

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants