mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Fix Mypy warnings
CURA-6983
This commit is contained in:
parent
6aba835c1c
commit
53115dc3b2
4 changed files with 11 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
from typing import Dict, Optional
|
||||
from typing import Dict, Optional, List
|
||||
|
||||
from PyQt5.QtCore import QObject, pyqtSlot
|
||||
|
||||
|
@ -24,7 +24,7 @@ class LicensePresenter(QObject):
|
|||
self.licenseAnswers = Signal()
|
||||
|
||||
self._current_package_idx = 0
|
||||
self._package_models = None # type: Optional[Dict]
|
||||
self._package_models = [] # type: List[Dict]
|
||||
self._license_model = LicenseModel() # type: LicenseModel
|
||||
|
||||
self._app = app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue