mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07:00
Fix code style and typing
This commit is contained in:
parent
07269e4988
commit
f2e518da6b
3 changed files with 7 additions and 4 deletions
|
|
@ -10,7 +10,8 @@ from typing import Any, Dict, Optional
|
|||
# contains an instance container for the global stack and one instance
|
||||
# container per extruder.
|
||||
class QualityChangesGroup(QObject):
|
||||
def __init__(self, name: str, quality_type: str, intent_category: str, parent = None) -> None:
|
||||
|
||||
def __init__(self, name: str, quality_type: str, intent_category: str, parent: Optional["QObject"] = None) -> None:
|
||||
super().__init__(parent)
|
||||
self.name = name
|
||||
self.quality_type = quality_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue