-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
tools: fix typos #55061
tools: fix typos #55061
Conversation
Review requested:
|
tools/cpplint.py
Outdated
@@ -1040,7 +1040,7 @@ def ParseNolintSuppressions(filename, raw_line, linenum, error): | |||
'Unknown NOLINT error category: %s' % category) | |||
|
|||
|
|||
def ProcessGlobalSuppresions(lines): | |||
def ProcessGlobalSuppressions(lines): |
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.
In the upstream, it looks like they redirect the typo to the correct function
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.
I'd be ok approving the PR if the update to tools/cpplint.py was removed. I think that one should be in a separate PR which would be to sync the file with the current ccplint upstream.
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.
Sure thing, FWIW those typos are already fixed upstream and were released just two days ago in cpplint v2.0.0.
f8d35d0
to
a0e1c0d
Compare
a0e1c0d
to
e5ccf36
Compare
Co-authored-by: Michaël Zasso <targos@protonmail.com>
Landed in 0f375db |
PR-URL: #55061 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: nodejs#55061 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Just thought I'd contribute some typo fixes that I stumbled on. Nothing controversial (hopefully).
Use the following command to get a quick summary of the specific corrections made:
FWIW, the top typos are: