-
Notifications
You must be signed in to change notification settings - Fork 750
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
[Docathon][CodeStyle] refine ci and pre-commit #6253
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6253.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
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.
o 师傅整几个 code style 有问题的文件测一下吧,commit 时候加 --no-verfiy
可以保证即便有问题也可以 commit
一师傅,是这个 |
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.
😂 现在不像以前写个 comment 还要检查好几遍,经常会有 typo 了 [doge] |
@@ -118,13 +118,15 @@ if [ "${need_check_cn_doc_files}" = "" ] ; then | |||
else | |||
/bin/bash -x ${DIR_PATH}/check_api_cn.sh "${need_check_cn_doc_files}" | |||
if [ $? -ne 0 ];then | |||
echo "ERROR: Exist COPY-FROM has not been parsed into sample code, please check COPY-FROM in the above files" |
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.
这些也用 ************************************************************************************
包裹吧
这样的子问题用 *
,summary 用 =
,会统一一些
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.
link #6242
删除 ci 中重复的 if [ $? -ne 0 ]
@SigureMo