diff options
| author | 2026-09-30 22:41:18 -0700 | |
|---|---|---|
| committer | 2026-10-01 17:53:34 +0200 | |
| commit | 857dad68dcb3a4f91eb356891d2da82322a740c2 (patch) | |
| tree | 18103f9247f8e08e79bb7e371bdf1dd762ac5669 /scripts/Makefile.thinlto | |
| parent | perf test: Update attr.py to use argparse (diff) | |
perf build: Run shellcheck, mypy, and remaining pylint checks in parallel
Following the approach used for pylint on standalone scripts and tests,
move the shellcheck and mypy checks in tools/perf/Build and
tools/perf/tests/Build, as well as the mypy and pylint checks in
tools/perf/util/Build and tools/perf/pmu-events/Build, into dedicated
phony targets invoked as top-level sub-makes from Makefile.perf.
Also add 'perf' to pylint's --ignored-modules (leaving perf module
type-checking to mypy via perf.pyi), since astroid's ImportlibFinder
only resolves .pyi stubs for package directories (__init__.pyi) rather
than single-file stubs like perf.pyi and does not introspect C
extensions by default. This removes the need for pylint to wait on
building $(LANG_BINDINGS).
This avoids blocking jevents code generation, archive creation
(libperf-util.a, libperf-test.a, libpmu-events.a), and final linking of
the perf binary and Python extension on linter execution.
Assisted-by: Antigravity:gemini-3.1-pro
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
