-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Add stubs for pycocotools #9086
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
ae9e2d2
Added the coco.pyi file.
hoel-bagard 2a1c251
Added the mask.pyi file.
hoel-bagard 81675f9
Added the cocoeval.pyi file.
hoel-bagard 07febd5
Added imports to the __init__.
hoel-bagard 9c204ee
Merge branch 'python:main' into main
hoel-bagard 4faa515
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3fe497d
Fixed some ids being allowed to also be simple int/str instead of list.
hoel-bagard 2699f58
Merged with main.
hoel-bagard 87039a7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] feb9114
Fixed name missing an '_'
hoel-bagard f03e88c
Moved some imports from typing to typing_extensions.
hoel-bagard 8aca487
Removed numpy dependency.
hoel-bagard a8cd2d5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8b52fca
Removed extra underscores.
hoel-bagard 8596fab
Merge branch 'main' of github.com:hoel-bagard/typeshed
hoel-bagard 294e104
Fixed TypeAlias import.
hoel-bagard 749bdfa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] cd6001f
Now using the Self type from _typeshed.
hoel-bagard 9536495
Added references to #5768 next to the commented out numpy imports.
hoel-bagard 5985956
Removed the pycocotools entry from pyrightconfig.stricter.json.
hoel-bagard 980f360
Added missing return type.
hoel-bagard 5f09960
Fix mypy error
AlexWaygood 4a0bac0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] de905d2
Added 'None' type to the COCO init arg as it is the default value.
hoel-bagard 99a28bd
Moved the private types to __init__ and the files they are used.
hoel-bagard a686ab9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3f668c3
Removed comment.
hoel-bagard 34b09cd
Updated imports.
hoel-bagard 7472602
Replace list by Collection/Sequence.
hoel-bagard 6e5bb73
Replace list by Collection/Sequence.
hoel-bagard 8857817
Replace list by Collection/Sequence.
hoel-bagard d9a3b8e
Replace list by Collection/Sequence.
hoel-bagard f7a13bf
Replace list by Sequence.
hoel-bagard 4d29cf0
Replace Self type by COCO,
hoel-bagard 3f28dcb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Replace list by Sequence.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
- Loading branch information
commit f7a13bfb37c8e16ff13ea18dd110bbc442403f26
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.