Add missing return types on init

CURA-8556
This commit is contained in:
Jaime van Kessel 2021-10-25 10:37:02 +02:00
parent daf450142b
commit 37ccf5b823
3 changed files with 5 additions and 3 deletions

View file

@ -21,6 +21,7 @@ if TYPE_CHECKING:
catalog = i18nCatalog("cura")
class PackageList(ListModel):
"""
Represents a list of packages to be displayed in the interface.
@ -33,7 +34,7 @@ class PackageList(ListModel):
ITEMS_PER_PAGE = 20 # Pagination of number of elements to download at once.
def __init__(self, parent: "QObject" = None):
def __init__(self, parent: "QObject" = None) -> None:
super().__init__(parent)
self._is_loading = True