Skip to content
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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

kbaikov
Copy link
Contributor

@kbaikov kbaikov commented Dec 3, 2024

Adds numpy types.
All the types were already there as comments.

Adds numpy types.
All the types were already there as comments.

This comment has been minimized.

This comment has been minimized.

@kbaikov
Copy link
Contributor Author

kbaikov commented Dec 3, 2024

@hoel-bagard please take a look

and @AlexWaygood since you approved the previous request in pycocotools

This comment has been minimized.


_NDArray: TypeAlias = Incomplete
_NDArray: TypeAlias = npt.NDArray[np.float64]
Copy link
Contributor

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.

Using semi-colon is important here.
Copy link
Contributor

github-actions bot commented Dec 4, 2024

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@kbaikov
Copy link
Contributor Author

kbaikov commented Dec 16, 2024

@hoel-bagard @AlexWaygood friendly ping for a second round of reviews, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants