Skip to content
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: merge custom cpplint with cpplint v1.3.0 #22864

Closed
wants to merge 1 commit into from

Conversation

boneskull
Copy link
Contributor

I found that I was having trouble running cpplint against Node.js from within VSCode; the official version is incompatible with our rules, and our customized version is incompatible with the extension.

My tests are failing on debug test-http-same-map, but make lint-cpp passes.


Merged https://github.com/cpplint/cpplint/blob/master/cpplint.py with
our customized version to enable better IDE/editor integration.

Made file executable.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merged https://github.com/cpplint/cpplint/blob/master/cpplint.py with
our customized version to enable better IDE/editor integration.

Made file executable.
@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Sep 14, 2018
@addaleax addaleax added c++ Issues and PRs that require attention from people who are familiar with C++. python PRs and issues that require attention from people who are familiar with Python. labels Sep 14, 2018
@refack
Copy link
Contributor

refack commented Sep 14, 2018

Funny... I was just about to check for updates myself (but I was looking at https://github.com/google/styleguide/blob/gh-pages/cpplint/cpplint.py)

@danbev
Copy link
Contributor

danbev commented Sep 18, 2018

@thefourtheye
Copy link
Contributor

Just to improve my understanding, do we have the customisations which we did to that file documented somewhere?

@danbev
Copy link
Contributor

danbev commented Sep 18, 2018

Just to improve my understanding, do we have the customisations which we did to that file documented somewhere?

We do have customisations but I'm not aware of any documentation of them apart from in the docstrings in the source (pydoc tools/cpplint.py).

@danbev
Copy link
Contributor

danbev commented Sep 18, 2018

Landed in fee4d3a.

@danbev danbev closed this Sep 18, 2018
danbev pushed a commit that referenced this pull request Sep 18, 2018
Merged https://github.com/cpplint/cpplint/blob/master/cpplint.py with
our customized version to enable better IDE/editor integration.

Made file executable.

PR-URL: #22864
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
targos pushed a commit that referenced this pull request Sep 18, 2018
Merged https://github.com/cpplint/cpplint/blob/master/cpplint.py with
our customized version to enable better IDE/editor integration.

Made file executable.

PR-URL: #22864
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
targos pushed a commit that referenced this pull request Sep 19, 2018
Merged https://github.com/cpplint/cpplint/blob/master/cpplint.py with
our customized version to enable better IDE/editor integration.

Made file executable.

PR-URL: #22864
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
@boneskull boneskull deleted the upgrade-cpplint branch September 19, 2018 15:00
targos pushed a commit that referenced this pull request Sep 20, 2018
Merged https://github.com/cpplint/cpplint/blob/master/cpplint.py with
our customized version to enable better IDE/editor integration.

Made file executable.

PR-URL: #22864
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. python PRs and issues that require attention from people who are familiar with Python. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants