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

add pre-commit workflow #11973

Merged
merged 3 commits into from
Apr 21, 2024
Merged

add pre-commit workflow #11973

merged 3 commits into from
Apr 21, 2024

Conversation

GreatV
Copy link
Collaborator

@GreatV GreatV commented Apr 19, 2024

No description provided.

Copy link

paddle-bot bot commented Apr 19, 2024

Thanks for your contribution!

Copy link
Collaborator Author

@GreatV GreatV left a comment

Choose a reason for hiding this comment

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

  • 在运行这个 github action 时会对所有代码检查是否满足pre-commit
  • 这里使用了 pre-commit run --all-files 把所有代码重写格式化了一遍。

Copy link
Collaborator

@jzhang533 jzhang533 left a comment

Choose a reason for hiding this comment

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

LGTM

@jzhang533 jzhang533 merged commit 045e5f6 into PaddlePaddle:main Apr 21, 2024
3 checks passed
@GreatV GreatV deleted the pre-commit_check branch August 15, 2024 15:08
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.

3 participants