-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix todo in pycocotools #13182
base: main
Are you sure you want to change the base?
Fix todo in pycocotools #13182
Conversation
Adds numpy types. All the types were already there as comments.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@hoel-bagard please take a look and @AlexWaygood since you approved the previous request in pycocotools |
This comment has been minimized.
This comment has been minimized.
|
||
_NDArray: TypeAlias = Incomplete | ||
_NDArray: TypeAlias = npt.NDArray[np.float64] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be better to rename this to _NDFloatArray
or something similar ?
This comment has been minimized.
This comment has been minimized.
Using semi-colon is important here.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
@hoel-bagard @AlexWaygood friendly ping for a second round of reviews, please. |
Adds numpy types.
All the types were already there as comments.