Skip to content

Commit 6007b2c

Browse files
committed
Adding a type:ignore[override] on KeyPoints__repr__ as it also exist on BoundingBoxes.__repr__ whose signature was copied
1 parent a869f39 commit 6007b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/tv_tensors/_keypoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ def _wrap_output(
102102
output = tuple(KeyPoints(part, canvas_size=canvas_size) for part in output)
103103
return output
104104

105-
def __repr__(self, *, tensor_contents: Any = None) -> str:
105+
def __repr__(self, *, tensor_contents: Any = None) -> str: # type: ignore[override]
106106
return self._make_repr(canvas_size=self.canvas_size)

0 commit comments

Comments
 (0)