diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2020-05-29 15:30:33 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2020-05-29 15:30:33 +0300 |
commit | 89f0970a887612a6819263633180d027d06224af (patch) | |
tree | 0b900495a95a234c15f893563975eb346aee6e20 /cura/API | |
parent | 1e33360c359373f7acbf95ca9706514d12c0dd7f (diff) |
Remove trailing whitespace from Python files
Diffstat (limited to 'cura/API')
-rw-r--r-- | cura/API/Backups.py | 8 | ||||
-rw-r--r-- | cura/API/Interface/Settings.py | 8 | ||||
-rw-r--r-- | cura/API/Interface/__init__.py | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/cura/API/Backups.py b/cura/API/Backups.py index cb5f2aa487..1940d38a36 100644 --- a/cura/API/Backups.py +++ b/cura/API/Backups.py @@ -10,9 +10,9 @@ if TYPE_CHECKING: class Backups: """The back-ups API provides a version-proof bridge between Cura's - + BackupManager and plug-ins that hook into it. - + Usage: .. code-block:: python @@ -28,7 +28,7 @@ class Backups: def createBackup(self) -> Tuple[Optional[bytes], Optional[Dict[str, Any]]]: """Create a new back-up using the BackupsManager. - + :return: Tuple containing a ZIP file with the back-up data and a dict with metadata about the back-up. """ @@ -36,7 +36,7 @@ class Backups: def restoreBackup(self, zip_file: bytes, meta_data: Dict[str, Any]) -> None: """Restore a back-up using the BackupsManager. - + :param zip_file: A ZIP file containing the actual back-up data. :param meta_data: Some metadata needed for restoring a back-up, like the Cura version number. """ diff --git a/cura/API/Interface/Settings.py b/cura/API/Interface/Settings.py index 18653bc88e..706a6d8c74 100644 --- a/cura/API/Interface/Settings.py +++ b/cura/API/Interface/Settings.py @@ -10,9 +10,9 @@ if TYPE_CHECKING: class Settings: """The Interface.Settings API provides a version-proof bridge between Cura's - + (currently) sidebar UI and plug-ins that hook into it. - + Usage: .. code-block:: python @@ -34,7 +34,7 @@ class Settings: def addContextMenuItem(self, menu_item: dict) -> None: """Add items to the sidebar context menu. - + :param menu_item: dict containing the menu item to add. """ @@ -42,7 +42,7 @@ class Settings: def getContextMenuItems(self) -> list: """Get all custom items currently added to the sidebar context menu. - + :return: List containing all custom context menu items. """ diff --git a/cura/API/Interface/__init__.py b/cura/API/Interface/__init__.py index 13174070d1..61510d6262 100644 --- a/cura/API/Interface/__init__.py +++ b/cura/API/Interface/__init__.py @@ -11,9 +11,9 @@ if TYPE_CHECKING: class Interface: """The Interface class serves as a common root for the specific API - + methods for each interface element. - + Usage: .. code-block:: python |