mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 23:35:07 -06:00
Fix bunch of issues found by pylint
This commit is contained in:
parent
bb52ba6848
commit
e74f049142
16 changed files with 50 additions and 44 deletions
|
@ -9,4 +9,7 @@ class BlockSlicingDecorator(SceneNodeDecorator):
|
|||
super().__init__()
|
||||
|
||||
def isBlockSlicing(self) -> bool:
|
||||
return True
|
||||
return True
|
||||
|
||||
def __deepcopy__(self, memo):
|
||||
return BlockSlicingDecorator()
|
|
@ -17,8 +17,8 @@ class GCodeListDecorator(SceneNodeDecorator):
|
|||
def getGCodeList(self) -> List[str]:
|
||||
return self._gcode_list
|
||||
|
||||
def setGCodeList(self, list: List[str]) -> None:
|
||||
self._gcode_list = list
|
||||
def setGCodeList(self, gcode_list: List[str]) -> None:
|
||||
self._gcode_list = gcode_list
|
||||
|
||||
def __deepcopy__(self, memo) -> "GCodeListDecorator":
|
||||
copied_decorator = GCodeListDecorator()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue