From 56c200fa3af20d94e9232d7588626934f98904c3 Mon Sep 17 00:00:00 2001 From: Christoph Stahl Date: Sat, 1 Feb 2025 00:50:34 +0100 Subject: [PATCH] Explicitly annotate loglines --- syng/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syng/gui.py b/syng/gui.py index 5c542f9..3ce6320 100644 --- a/syng/gui.py +++ b/syng/gui.py @@ -801,7 +801,7 @@ class SyngGui(QMainWindow): class LoggingLabelHandler(logging.Handler): def __init__(self, label: QLabel): super().__init__() - self.loglines = [] + self.loglines: list[str] = [] self.label = label def emit(self, record: logging.LogRecord) -> None: