mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Code style: Method names with lower camelcase
Contributes to issue CURA-7207.
This commit is contained in:
parent
bcf4bc8138
commit
0c42b1fdea
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class SubscribedPackagesModel(ListModel):
|
||||||
"is_dismissed": False,
|
"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:
|
try:
|
||||||
package.update({"icon_url": item["icon_url"]})
|
package.update({"icon_url": item["icon_url"]})
|
||||||
|
@ -73,7 +73,7 @@ class SubscribedPackagesModel(ListModel):
|
||||||
self.setItems(self._items)
|
self.setItems(self._items)
|
||||||
|
|
||||||
@staticmethod
|
@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
|
Check a list of version numbers if any of them applies to our
|
||||||
application.
|
application.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue