Update pycodestyle for new tool support and more reliable output parsing.
Review Request #11551 — Created March 23, 2021 and submitted
This updates
PycodestyleTool
to subclass the newerBaseTool
, 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 inpycodestyle
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 |
---|---|
52554a344a404ab49170be340603aac00b6de428 |
- Change Summary:
-
- Removed the unwanted double quotes around
pycodestyle
. - Added integration unit tests.
- Removed the unwanted double quotes around
- Description:
-
This updates
PycodestyleTool
to subclass the newerBaseTool
, and to usethe 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 besusceptible to any changes in pycodestyle
in the future.~ Unit tests were added to cover the new parsing.
~ Unit tests were added to cover the new parsing, and to peform
+ integration testing with the command line tool. - Commits:
-
Summary ID 7ae158b6d6bfca4261d7343e440b33e1c653ba8a c6969ad07ef57b9608ebc3539dc03931843c9b42