From 3b845c01c2d018c31582b0efa9229dc1878883a9 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 14 Oct 2020 15:53:27 -0400 Subject: [PATCH] SEToolsTableModel: Fix type checking error. Signed-off-by: Chris PeBenito --- setoolsgui/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setoolsgui/models.py b/setoolsgui/models.py index 8cd0d3a..29dbb15 100644 --- a/setoolsgui/models.py +++ b/setoolsgui/models.py @@ -18,6 +18,7 @@ # import logging from contextlib import suppress +from typing import List from PyQt5.QtCore import QAbstractListModel, QItemSelectionModel, QAbstractTableModel, \ QModelIndex, QStringListModel, Qt @@ -138,7 +139,7 @@ class SEToolsTableModel(QAbstractTableModel): """Base class for SETools table models.""" - headers = [] + headers: List[str] = [] def __init__(self, parent): super(SEToolsTableModel, self).__init__(parent)