Various type-checking improvements

This commit is contained in:
Jan Petykiewicz 2025-10-26 18:45:09 -07:00
commit 0c04bf8ea3
13 changed files with 27 additions and 26 deletions

View file

@ -64,7 +64,7 @@ class Port(PositionableImpl, Rotatable, PivotableImpl, Copyable, Mirrorable):
return self._rotation
@rotation.setter
def rotation(self, val: float) -> None:
def rotation(self, val: float | None) -> None:
if val is None:
self._rotation = None
else: