remove TODO labels from mypy #3004 comments
This commit is contained in:
parent
b872e19dec
commit
e47f9b76b1
7 changed files with 9 additions and 9 deletions
|
|
@ -75,7 +75,7 @@ class PositionableImpl(Positionable, metaclass=ABCMeta):
|
|||
#
|
||||
# offset property
|
||||
@property
|
||||
def offset(self) -> Any: # TODO mypy#3003 NDArray[numpy.float64]:
|
||||
def offset(self) -> Any: # mypy#3004 NDArray[numpy.float64]:
|
||||
"""
|
||||
[x, y] offset
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ class PivotableImpl(Pivotable, metaclass=ABCMeta):
|
|||
pivot = numpy.array(pivot, dtype=float)
|
||||
cast(Positionable, self).translate(-pivot)
|
||||
cast(Rotatable, self).rotate(rotation)
|
||||
self.offset = numpy.dot(rotation_matrix_2d(rotation), self.offset) # type: ignore # TODO: mypy#3004
|
||||
self.offset = numpy.dot(rotation_matrix_2d(rotation), self.offset) # type: ignore # mypy#3004
|
||||
cast(Positionable, self).translate(+pivot)
|
||||
return self
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue