diff --git a/stubs/pycocotools/pycocotools/coco.pyi b/stubs/pycocotools/pycocotools/coco.pyi index 3ee1e4e0aac8..ae0dede170be 100644 --- a/stubs/pycocotools/pycocotools/coco.pyi +++ b/stubs/pycocotools/pycocotools/coco.pyi @@ -5,6 +5,7 @@ from typing_extensions import Literal, TypeAlias from .coco_types import _RLE, _Annotation, _AnnotationG, _Category, _Dataset, _EncodedRLE, _Image, _TPolygonSegmentation +# TODO: Use numpy types when #5768 is resolved. # import numpy as np # import numpy.typing as npt diff --git a/stubs/pycocotools/pycocotools/coco_types.pyi b/stubs/pycocotools/pycocotools/coco_types.pyi index 0851d690ab61..de97b724326d 100644 --- a/stubs/pycocotools/pycocotools/coco_types.pyi +++ b/stubs/pycocotools/pycocotools/coco_types.pyi @@ -2,6 +2,7 @@ from _typeshed import Incomplete from typing import Generic, TypeVar from typing_extensions import TypeAlias, TypedDict +# TODO: Use numpy types when #5768 is resolved. # import numpy as np # import numpy.typing as npt diff --git a/stubs/pycocotools/pycocotools/cocoeval.pyi b/stubs/pycocotools/pycocotools/cocoeval.pyi index 96523f880ceb..11c38dff7f89 100644 --- a/stubs/pycocotools/pycocotools/cocoeval.pyi +++ b/stubs/pycocotools/pycocotools/cocoeval.pyi @@ -4,6 +4,7 @@ from typing_extensions import Literal, TypeAlias from .coco import COCO from .coco_types import _EvaluationResult +# TODO: Use numpy types when #5768 is resolved. # import numpy as np # import numpy.typing as npt diff --git a/stubs/pycocotools/pycocotools/mask.pyi b/stubs/pycocotools/pycocotools/mask.pyi index d99e84a9c6e2..9f88c4307077 100644 --- a/stubs/pycocotools/pycocotools/mask.pyi +++ b/stubs/pycocotools/pycocotools/mask.pyi @@ -4,6 +4,7 @@ from typing_extensions import TypeAlias from .coco_types import _EncodedRLE +# TODO: Use numpy types when #5768 is resolved. # import numpy as np # import numpy.typing as npt