mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 09:43:13 +08:00
Code style: Method names with lower camelcase
Contributes to issue CURA-7207.
This commit is contained in:
parent
bcf4bc8138
commit
0c42b1fdea
@ -63,7 +63,7 @@ class SubscribedPackagesModel(ListModel):
|
||||
"is_dismissed": False,
|
||||
}
|
||||
|
||||
package.update({"is_compatible": self._is_any_version_compatible(package_manager, item["sdk_versions"])})
|
||||
package.update({"is_compatible": self._isAnyVersionCompatible(package_manager, item["sdk_versions"])})
|
||||
|
||||
try:
|
||||
package.update({"icon_url": item["icon_url"]})
|
||||
@ -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 _isAnyVersionCompatible(package_manager: PackageManager, api_versions: [str]) -> bool:
|
||||
"""
|
||||
Check a list of version numbers if any of them applies to our
|
||||
application.
|
||||
|
Loading…
x
Reference in New Issue
Block a user