Explicitly annotate loglines

This commit is contained in:
Christoph Stahl 2025-02-01 00:50:34 +01:00
parent cc873fc4ff
commit 56c200fa3a

View file

@ -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: