-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[CodeStyle][Typos][O-[15-20],O-[24-26]] Fix typos(optin
, Optin
, rder
, oreder
, orignal
, orginal
, onces
, outter
, outpus
, overriden
, Overide
, overide
, overrided
)
#70759
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提交成功,感谢你对开源项目的贡献! |
optin
, Optin
, rder
, oreder
, orignal
, orginal
, onces
, outter
, outpus
, overriden
, Overide
, overide
, overrided
)optin
, Optin
, rder
, oreder
, orignal
, orginal
, onces
, outter
, outpus
, overriden
, Overide
, overide
, overrided
)
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.
不要修改 .clang-tidy 文件
加到 |
好的,收到 |
已经修改并提交代码了 |
codestyle 检查都没过 |
好的收到,代码修正后codestyle检查已经通过,再次提交了 |
PR 导致的编译问题定位下,CI 都挂了,自己先看下 |
_typos.toml
Outdated
"paddle/fluid/inference/tensorrt/convert/generic_and_custom_plugin_creater.cc", | ||
"paddle/fluid/inference/tensorrt/convert/test_custom_plugin_creater.cc", | ||
".clang-tidy", | ||
"paddle/phi/kernels/gpu/rms_norm_kernel.cu", |
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.
这个文件是因为什么原因加入的?为什么没有任何说明?
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.
明显不对
_typos.toml
Outdated
Operants = 'Operants' | ||
operants = 'operants' | ||
optin = 'optin' | ||
Optin = 'Optin' |
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.
移到上面的 「PaddlePaddle specific words」,字母序
_typos.toml
Outdated
"paddle/fluid/inference/tensorrt/convert/CMakeLists.txt", | ||
"paddle/fluid/inference/tensorrt/convert/generic_and_custom_plugin_creater.cc", | ||
"paddle/fluid/inference/tensorrt/convert/test_custom_plugin_creater.cc", | ||
".clang-tidy", |
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.
optin
word 级 ignore 之后就不用加这行了吧?
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.
CI 这不是全挂了吗?所有 optin 都恢复
if (status == cudaError::cudaErrorInvalidValue) { | ||
// Clear the error bit since we can ignore this. | ||
// This should mean that smem_size > | ||
// Undo Optin |
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.
这是干啥?
@BaolanChen 可以这个PR不认领 optin和Optin,先把其他的搞定 |
这个直接在配置 ignore 就可以 |
_typos.toml
Outdated
pash = 'pash' | ||
unpacket = "unpacket" | ||
vaccum = 'vaccum' | ||
Optin = 'Optin' |
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.
位置不对,没按字母序
收到,尽快搞定 |
收到, |
CI 过了再 request review,就算是 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.
PR Category
User Experience
PR Types
Devs
Description
fixed:
rder
,oreder
,orignal
,orginal
,onces
,outter
,outpus
,overriden
,Overide
,overide
,overrided
Undo:
optin
, 不确定是否正确,.clang-tidy
文件中存在typos error,不修改.clang-tidy
文件,因此添加到_typos.toml
files.extend-exclude
Optin
, 不确定如何修改,所以改回