Cpplint could not find executable

I am trying to activate cpplint within vs code. I have installed it in Anacanda environment where executable /home/ubuntu/anaconda3/bin/cpplint I have a link to it ls -l...

How to install cpplint on windows?

So I'm trying to get cpplint to work on Sublime Text 3 and I downloaded cppcheck and cpplint using the package installer on Sublime and now I'm trying to follow these instructions...

Why does cpplint discourage Streams?

I was just playing around with cpplint and tried running it on some code I had written for fun. I realized that the following lines were flagged with the error message :- #include...

How to use the exclude_files regex in cpplint?

I am using cpplint to check my sourcode agains the google style guide. Cpplint's help says: cpplint.py supports per-directory configurations specified in CPPLINT.cfg files. CPPLINT.cfg file...

CMake CPPLINT coloured output

Is there any way to colour the cpplint output when setting set(CMAKE_CXX_CPPLINT "cpplint") in the cmake file?

How to prevent cpplint to report <optional> as wrong include order?

header.hpp: ``` pragma once include <path/to/file.h> include <algorithm> include <chrono> include <memory> include <optional> include <string> include <vector> ``` When I run cpplint.py, I get...

How to enable cpplint for c files in syntastic VIM

I am using cpplint with Syntastic on VIM, however I am not able to use cpplint for C files. I enabled cpplint for cpp files using the following line in .vimrc file: let...

Cpplint and CMake - Treat warnings are errors and fail

I'm using cpplint with CMake: set(CMAKE_CXX_CPPLINT cpplint; --filter=-build/include_subdir,-legal/copyright; --quiet) But even if cpplint produces some warnings, the build is still...

Flycheck-Google-Cpplint is not Configured Correctly

I am trying to install flycheck-google-cpplint in my emacs. But I get this error: (flycheck-mode 1) (eval-after-load &#39;flycheck &#39;(progn (require &#39;flycheck-google-cpplint) ...

Google cpplint integration in QtCreator

Is it possible to integrate Google's cpplint in QtCreator? I've looked for a plugin or another way of integration but so far my search hasn't produced any results.

Sublimelinter cpplint does not recognize ipp files

I am trying to setup sublime text 3 to work on C++ development. I installed cpplint and followed the installation instructions. While the documentation indicates that cpplint will lint any file...

CppLint Cast Char* Error

I Have got this error on CppLint : Using C-style cast. Use reinterpret_cast&lt;xmlChar *&gt;(...) instead [readability/casting] [4] When i try to cast something like this : xmlChar* something =...

How to ignore folders with cpplint

How do you tell cpplint to ignore folders of a specific name? I have .build folders that contain auto-generated files, and when I run cpplint --recursive src it traverses these folders and finds a...

Why won't cpplint work on my raspberry pi?

I am trying to install cpplint on my raspberry pi (has to be cpplint, its for a class). It says it was installed successfully when I run pip3 install cpplint, but then when I go to use it, it does...

Disable specific warnings from cpplint

When running cpplint, I run into some warnings that I'd like to completely disable. Specifically the copyright message & whitespaces: > range.h:0: No copyright message found. You should have a...

How to auto-format cpplint?

I'm using Clion to develop C++ programs. For unifying code style, our team introduced cpplint to our project. Since previous codes didn't follow cpplint's code style, a large number of errors need...

How to use cpplint code style checking with CMake?

The only online resources I have found are the CMake documentation on CMAKE_&lt;LANG&gt;_CPPLINT (link here) and this example (link here), but I cannot figure out how to actually use it inside a...

flymake-google-cpplint-filter or linelength does not seem to take hold on my emacs file

I have the following packages installed in emacs 24 flymake-google-cpplint is an installed package. Status: Installed in...

Cpplint asks to add header file

I have some code that uses an std::string in a file named executor.cpp. In the corresponding header file, executor.h I include #include &lt;string&gt;. However, running cpplint on executor.cpp...

How to use cpplint with Warnings Next Generation Plugin - need for sample code

I'd like to get some sample code how to use cpplint with Warnings Next Generation Plugin on Jenkins. I tried many output formats of cpplint tool (vs7, emacs, junit). I tried something like that...

cpplint misbehaving in docker container

I'm trying to run cpplint.py inside a Docker container. Here's the Dockerfile which I use to make an image lint:latest : FROM ubuntu:18.04 # update and install dependencies RUN apt-get update \ ...

Xcode external tools cpplint

Is there already a way in Xcode to map from a generic command line tool's output to line numbers and messages so that when running e.g. cpplint you can have it mapped to the graphical text...

Why can't I use ament_cpplint with cpplint plugins for various IDEs?

I am working with C++ code with ROS2. ROS2 has code style standards and one of the recommended linters is ament_cpplint, which is slightly different from cpplint Most IDEs/Editors for C++ (Clion,...

How to make cpplint work with Jenkins warnings plugin

I added an 'Execute shell' build step in Jenkins to run the cpplint.py python /var/lib/jenkins/scripts/cpplint.py --counting=detailed `find path -name *.cpp I also added 'Scan for compiler...

How to make cpplint check for 4-space indentation instead of 2-space indentation?

I wrote some C++ programs where I used 2-space indent instead of 4-space indent at times, but cpplint is not warning me about these lines because it seems to be checking for 2-space indent by...

difference between if(pointer) vs if(pointer != NULL) in c++, cpplint issue

I already checked this post https://stackoverflow.com/questions/17772103/can-i-use-if-pointer-instead-of-if-pointer-null and some other posts on net. But it is not stating any difference between...

How to make vim run "cpplint" after every "save" command?

I wish that each time I ":w" to save a .h/.cpp file in vim, vim will automatically run cpplint to check my format, and change the file if needed. How to specify this with autocmd? Thanks.

How to integrate CPPLINT into CMake and also scan header files?

I can get cpplint working with CMake quite easily, but as is explained in the answer to this question, it only scans the compilation files (e.g. .cpp, .cc); it doesn't scan the header files even...

Jenkins: exception using cpplint parser on console log (warnings plugin)

I want to use the cpplint.py script to get coding style errors on the code. I managed to execute the python script in Jenkins and it posts the output to the console log. I want to parse the...

Why does cpplint not spot missing semicolons?

I have been using linters in NodeJS for a while eslint and have started using cpplint on my Arduino libraries in C++. It does not seem to pick up some fundamentals such as missing semicolons (but...