[PATCH 0/2] perf python: Fix pylint warnings without Textual
From: Leo Yan
Date: Fri Oct 23 2026 - 09:22:28 EST
An arm64 cross build without Textual on the host reports W0201 warnings
in treport.py and ttimechart.py, causing the build to fail.
Initialize the inherited attributes in their constructors so pylint can
recognize them without resolving the Textual base classes.
Signed-off-by: Leo Yan <leo.yan@xxxxxxx>
---
Leo Yan (2):
perf treport: Initialize the subtitle in the constructor
perf timechart: Initialize Textual attributes in constructors
tools/perf/python/treport.py | 2 +-
tools/perf/python/ttimechart.py | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
---
base-commit: 1c90f0a3c8a1c4e38f9edd97af9e20848805a7fb
change-id: 20261023-perf_fix_pylint_warning-58408f0b6c91
Best regards,
--
Leo Yan <leo.yan@xxxxxxx>