Clean up import order

CURA-8588
This commit is contained in:
Jaime van Kessel 2022-01-03 10:29:15 +01:00
parent 408b649db7
commit 0615369cba

View file

@ -1,17 +1,11 @@
# Copyright (c) 2021 Ultimaker B.V. # Copyright (c) 2022 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
from typing import Any, Dict, List, Optional, TYPE_CHECKING from typing import Any, Dict, List, Optional, TYPE_CHECKING
from operator import attrgetter
from PyQt5.QtCore import pyqtSlot, QObject from PyQt5.QtCore import pyqtSlot, QObject
from UM.Version import Version from UM.Version import Version
if TYPE_CHECKING:
from PyQt5.QtCore import QObject
from PyQt5.QtNetwork import QNetworkReply
from UM.i18n import i18nCatalog from UM.i18n import i18nCatalog
from UM.TaskManagement.HttpRequestManager import HttpRequestManager from UM.TaskManagement.HttpRequestManager import HttpRequestManager
from UM.Logger import Logger from UM.Logger import Logger
@ -20,6 +14,10 @@ from .PackageList import PackageList
from .PackageModel import PackageModel from .PackageModel import PackageModel
from .Constants import PACKAGE_UPDATES_URL from .Constants import PACKAGE_UPDATES_URL
if TYPE_CHECKING:
from PyQt5.QtCore import QObject
from PyQt5.QtNetwork import QNetworkReply
catalog = i18nCatalog("cura") catalog = i18nCatalog("cura")