Update cpplint for new tool support and improve output parsing.

Review Request #11567 — Created April 1, 2021 and submitted

chipx86
ReviewBot
release-3.0.x
reviewbot

This updates CPPLintTool to subclass the newer BaseTool, and to use
the newer features it offers (dependencies, improved file extension
handling, centralized base command building, and standardized error code
output).

The new version of the tool has less verbose, safer output parsing. Both
the old and new versions used a regex, but the new one is designed to
better fit with the output from the tool, and to avoid a bunch of
now-unnecesary processing.

Unit tests pass for Python 2.7 and 3.x.

Summary
Update cpplint for new tool support and improve output parsing.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (37b0135)
Loading...