-
Notifications
You must be signed in to change notification settings - Fork 758
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] upgrade pre-commit/pre-commit-hooks
in .pre-commit-config.yaml
#6239
[CodeStyle] upgrade pre-commit/pre-commit-hooks
in .pre-commit-config.yaml
#6239
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6239.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
@@ -5,7 +5,7 @@ repos: | |||
- id: black | |||
files: \.py$ | |||
- repo: https://github.com/pre-commit/pre-commit-hooks | |||
rev: v4.1.0 | |||
rev: v4.4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end-of-file-fixer
和 trailing-whitespace
的 files 字段改成 types 吧,监控全部文本文件,即
- id: end-of-file-fixer
- files: \.md$|\.rst$
+ types: [text]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMeow 🐾
需要解决下冲突~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMeow 🐾
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
link #6158
升级 docs repo 中现有的代码风格检查工具版本
tracking issue 待补充
@SigureMo