-
Notifications
You must be signed in to change notification settings - Fork 5.8k
【code format check upgrade】 step2:yapf #42944
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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
…file, and format will break them
paddle_build.sh是因为修改的文件太多,所以先做修改,等PR merge后再revert么? |
static-check也卡住了,paddle_build.sh对git diff的修改,不仅要修改coverage流水线相关的,还需要修改static-check流水线相关的。也可以先豁免等这个PR merge后,revert paddle_build.sh的修改 |
我觉得可以先merge了,yapf的合入不会对static_check造成影响。等合入后,我再提个PR改回来。就是改了检查python文件覆盖率的功能,先合入再马上改回来,影响很小。 |
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
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
PR types
Others
PR changes
Others
Describe
use yapf of 0.32.0 to format all python file.
some points:

- temporarily dissable using git to find out diff python files in check_diff_file_for_coverage, for the diff_py_files is too many that cause the shell script cant execute successfully.