mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Fix pylint typing
CURA-7207
This commit is contained in:
parent
5beba6050f
commit
f78359ae76
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class SubscribedPackagesModel(ListModel):
|
|||
self.setItems(self._items)
|
||||
|
||||
@staticmethod
|
||||
def _is_any_version_compatible(package_manager: PackageManager, api_versions: [str]) -> bool:
|
||||
def _is_any_version_compatible(package_manager: PackageManager, api_versions: List[str]) -> bool:
|
||||
""":return: True when any of the provided api versions is compatible"""
|
||||
for version in api_versions:
|
||||
if package_manager.isPackageCompatible(Version(version)):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue