Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH 0/2] perf python: Fix pylint warnings without Textual
@ 2026-10-23 13:20 Leo Yan
  2026-10-23 13:20 ` [PATCH 1/2] perf treport: Initialize the subtitle in the constructor Leo Yan
  2026-10-23 13:20 ` [PATCH 2/2] perf timechart: Initialize Textual attributes in constructors Leo Yan
  0 siblings, 2 replies; 5+ messages in thread
From: Leo Yan @ 2026-10-23 13:20 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Namhyung Kim, Mark Rutland,
	Alexander Shishkin, Jiri Olsa, Ian Rogers, Adrian Hunter,
	James Clark, Alice Rogers, Aishwarya TCV
  Cc: Arnaldo Carvalho de Melo, linux-perf-users, linux-kernel, Leo Yan

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@arm.com>
---
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@arm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-23 13:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-23 13:20 [PATCH 0/2] perf python: Fix pylint warnings without Textual Leo Yan
2026-10-23 13:20 ` [PATCH 1/2] perf treport: Initialize the subtitle in the constructor Leo Yan
2026-10-23 13:34   ` sashiko-bot
2026-10-23 13:20 ` [PATCH 2/2] perf timechart: Initialize Textual attributes in constructors Leo Yan
2026-10-23 13:36   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox