Mypy and pylint build support
Status from this message: Applied to perf-tools-next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 2 repliesApplied
- v16 patches 12 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tools/build: Don't pass test log files to linkertools/ | +5 | 0 replies | |
| 2/6 | perf build: Rename TEST_LOGS to SHELL_TEST_LOGStools/ tools/ tools/ +4 more | +19 | 0 replies | |
| 3/6 | perf build: Add mypy build teststools/ tools/ tools/ +3 more | +71 | 0 replies | |
| 4/6 | perf build: Add pylint build teststools/ tools/ tools/ +3 more | +69 | 0 replies | |
| 5/6 | perf test: Address attr.py mypy errortools/ | +1 | 0 replies | |
| 6/6 | perf python: Fix setup.py mypy errorstools/ | +8 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | James Clark |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] Mypy and pylint build support
Support building perf checking the python code with mypy and/or pylint. Currently there are too many errors to make this a default.
Shellcheck generates no output on success, so linking shellcheck files doesn't cause ld to fail. Mypy and pylint generate output that will break ld so change the Makefile.build to ignore test log files.
Address some initial mypy errors.
v2: Rebase. Add James Clark's reviewed-by tags. Add example mypy and
pylint error output.
Ian Rogers (6):
tools/build: Don't pass test log files to linker perf build: Rename TEST_LOGS to SHELL_TEST_LOGS perf build: Add mypy build tests
perf build: Add pylint build tests
perf test: Address attr.py mypy error perf python: Fix setup.py mypy errors
tools/build/Makefile.build | 6 +++++- tools/perf/Build | 32 +++++++++++++++++++++++++++--- tools/perf/Makefile.perf | 14 +++++++++++-- tools/perf/arch/x86/Build | 6 +++--- tools/perf/arch/x86/tests/Build | 6 +++--- tools/perf/pmu-events/Build | 25 ++++++++++++++++++++++- tools/perf/scripts/Build | 26 ++++++++++++++++++++++++ tools/perf/tests/Build | 32 +++++++++++++++++++++++++++--- tools/perf/tests/shell/lib/attr.py | 8 +------- tools/perf/trace/beauty/Build | 6 +++--- tools/perf/util/Build | 31 ++++++++++++++++++++++++++--- tools/perf/util/setup.py | 10 ++++++++-- 12 files changed, 171 insertions(+), 31 deletions(-)
Signature · 1 line
2.49.0.rc0.332.g42c0ae87b1-goog