Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 5 additions & 45 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ ignore_errors = True

ignore_errors = True

[mypy-torchvision.prototype.models.*]

ignore_errors = True

[mypy-torchvision.io.image.*]

ignore_errors = True
Expand All @@ -41,54 +45,10 @@ ignore_errors = True

ignore_errors = True

[mypy-torchvision.models.densenet.*]
[mypy-torchvision.models.*]

ignore_errors=True

[mypy-torchvision.models.maxvit.*]

ignore_errors=True

[mypy-torchvision.models.detection.anchor_utils]

ignore_errors = True

[mypy-torchvision.models.detection.transform]

ignore_errors = True

[mypy-torchvision.models.detection.roi_heads]

ignore_errors = True

[mypy-torchvision.models.detection.faster_rcnn]

ignore_errors = True

[mypy-torchvision.models.detection.mask_rcnn]

ignore_errors = True

[mypy-torchvision.models.detection.keypoint_rcnn]

ignore_errors = True

[mypy-torchvision.models.detection.retinanet]

ignore_errors = True

[mypy-torchvision.models.detection.ssd]

ignore_errors = True

[mypy-torchvision.models.detection.ssdlite]

ignore_errors = True

[mypy-torchvision.models.detection.fcos]

ignore_errors = True

[mypy-torchvision.ops.*]

ignore_errors = True
Expand Down
2 changes: 1 addition & 1 deletion torchvision/transforms/v2/functional/_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def _rotate_image_pil(
interpolation = _check_interpolation(interpolation)

return _FP.rotate(
image, angle, interpolation=pil_modes_mapping[interpolation], expand=expand, fill=fill, center=center
image, angle, interpolation=pil_modes_mapping[interpolation], expand=expand, fill=fill, center=center # type: ignore[arg-type]
)


Expand Down