Add missing typing to number of decorators

This commit is contained in:
Jaime van Kessel 2018-09-27 14:29:09 +02:00
parent 0ce9bf61be
commit d83241f13a
4 changed files with 58 additions and 36 deletions

View file

@ -2,11 +2,11 @@ from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
class SliceableObjectDecorator(SceneNodeDecorator):
def __init__(self):
def __init__(self) -> None:
super().__init__()
def isSliceable(self):
def isSliceable(self) -> bool:
return True
def __deepcopy__(self, memo):
def __deepcopy__(self, memo) -> "SliceableObjectDecorator":
return type(self)()