Update pycodestyle for new tool support and more reliable output parsing.

Review Request #11551 — Created March 23, 2021 and submitted

Information

ReviewBot
release-3.0.x

Reviewers

This updates PycodestyleTool to subclass the newer BaseTool, and to use
the newer features it offers (dependencies, improved centralized base
command building, and standardized error code/column output).

The output from pycodestyle is now explicitly set, so we won't be
susceptible to any changes in pycodestyle in the future.

Unit tests were added to cover the new parsing, and to peform
integration testing with the command line tool.

Unit tests pass on Python 2.7 and 3.x.

Summary ID
Update pycodestyle for new tool support and more reliable output parsing.
This updates `PycodestyleTool` to subclass the newer `BaseTool`, and to use the newer features it offers (dependencies, improved centralized base command building, and standardized error code/column output). The output from `pycodestyle` is now explicitly set, so we won't be susceptible to any changes in `pycodestyle` in the future. Unit tests were added to cover the new parsing, and to peform integration testing with the command line tool.
52554a344a404ab49170be340603aac00b6de428
david
  1. Ship It!
  2. 
      
chipx86
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (8c0a063)
Loading...