Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Update comments
  • Loading branch information
Avasam committed Jan 14, 2023
commit 17da551f64afa41f5a2eae4e015c7469f9e5e6db
2 changes: 1 addition & 1 deletion stubs/Pillow/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PIL.FpxImagePlugin
PIL.ImageQt.ImageQt
PIL.MicImagePlugin
# Requires Pyside or PyQt to be installed.
# Requires PySide or PyQt to be installed.
# We don't install either in stubtest so it can't see it
PIL.ImageQt.QImage
PIL.ImageQt.QPixmap
2 changes: 1 addition & 1 deletion stubs/PyScreeze/pyscreeze/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _R = TypeVar("_R")
# https://github.com/microsoft/python-type-stubs/tree/main/cv2
# https://github.com/opencv/opencv/pull/20370
# cv2.Mat is just an alias for a numpy NDArray, but can't import that either.
# Because pyscreeze does not declare it as a dependency, stubsuploader won't let it.
# Because pyscreeze does not declare it as a dependency, stub_uploader won't let it.
_Mat: TypeAlias = Incomplete

useOpenCV: bool
Expand Down
2 changes: 1 addition & 1 deletion stubs/pycocotools/pycocotools/coco.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from typing_extensions import Literal, TypeAlias, TypedDict

from . import _EncodedRLE

# stub_uploader doesn't allow numpy because pycocotools doesn't declare it as a dependency
# TODO: Use numpy types when #5768 is resolved.
# import numpy as np
# import numpy.typing as npt

Expand Down
2 changes: 1 addition & 1 deletion stubs/pycocotools/pycocotools/cocoeval.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from typing_extensions import Literal, TypeAlias, TypedDict

from .coco import COCO

# stub_uploader doesn't allow numpy because pycocotools doesn't declare it as a dependency
# TODO: Use numpy types when #5768 is resolved.
# import numpy as np
# import numpy.typing as npt

Expand Down
2 changes: 1 addition & 1 deletion stubs/pycocotools/pycocotools/mask.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ from typing_extensions import TypeAlias

from . import _EncodedRLE

# stub_uploader doesn't allow numpy because pycocotools doesn't declare it as a dependency
# TODO: Use numpy types when #5768 is resolved.
# import numpy as np
# import numpy.typing as npt

Expand Down