Skip to content

Commit

Permalink
Added references to python#5768 next to the commented out numpy imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoel-bagard committed Nov 4, 2022
1 parent cd6001f commit 9536495
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions stubs/pycocotools/pycocotools/coco.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions stubs/pycocotools/pycocotools/coco_types.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions stubs/pycocotools/pycocotools/cocoeval.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions stubs/pycocotools/pycocotools/mask.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9536495

Please sign in to comment.