8000 opencv-python stubs by Avasam · Pull Request #8879 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

opencv-python stubs #8879

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

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
53cbde4
Bump PyInstaller-stubs to 5.5
Avasam Oct 10, 2022
7f6a836
Merge branch 'master' of https://github.com/python/typeshed
Avasam Oct 10, 2022
517bd33
Initial generated cv2 stubs
Avasam Oct 10, 2022
63d7170
Added microsoft/python-type-stubs/cv2
Avasam Oct 11, 2022
1a00677
Set signatures from existing docstrings
Avasam Oct 11, 2022
aef1b26
Added https://github.com/microsoft/python-type-stubs/pull/219
Avasam Oct 11, 2022
b9224e3
Added https://github.com/microsoft/python-type-stubs/pull/227
Avasam Oct 11, 2022
85f6091
Added https://github.com/microsoft/python-type-stubs/pull/232
Avasam Oct 11, 2022
9fdc94e
Empty docstrings
Avasam Oct 11, 2022
1e3488c
Use the more flexible _Mat (NDArray) for typing
Avasam Oct 11, 2022
b72ac55
Fix dts to dst
Avasam Oct 11, 2022
41dba77
Added missing packages + strict types in cv2.gapi
Avasam Oct 12, 2022
edfd948
Updated list to Sequence in method args
Avasam Oct 12, 2022
8b35a5a
stricter pyright
Avasam Oct 12, 2022
e2c4a41
Fix Flake8
Avasam Oct 12, 2022
7e8b5dd
complete some Incomplete
Avasam Oct 12, 2022
6e5ab28
Removed docstrings
Avasam Oct 12, 2022
9cf3c44
fix pyright test
Avasam Oct 12, 2022
6a03195
Fixed Mat variances
Avasam Oct 12, 2022
f75c2f9
fixed cv2.error and cv2.Error
Avasam Oct 12, 2022
7fb76ea
Flake8 and stubtest
Avasam Oct 12, 2022
c9431d2
don't return Any with # incomplete method
Avasam Oct 14, 2022
0a688b7
don't return Any with # incomplete method
Avasam Oct 14, 2022
900e731
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 14, 2022
37bb1d1
Class def updates
Avasam Oct 15, 2022
ebe36a1
Merge branch 'opencv2' of https://github.com/Avasam/typeshed into ope…
Avasam Oct 15, 2022
06f73ba
Additional comments
Avasam Oct 15, 2022
c66b19c
Move _RotatedRect
Avasam Oct 15, 2022
203de26
mypy type: ignore[misc] explanation comment
Avasam Oct 15, 2022
28dc455
Completed generated modules
Avasam Oct 19, 2022
ffcfcee
Merge branch 'master' of https://github.com/python/typeshed into opencv2
Avasam Oct 20, 2022
bb50269
Fix flake8 warnings
Avasam Oct 20, 2022
22f29a7
Merge branch 'python:main' into opencv2
Avasam Nov 12, 2022
6b35384
Merge branch 'main' of https://github.com/python/typeshed into opencv2
Avasam Dec 5, 2022
6919768
noqa: Y042" has no matching violations
Avasam Dec 5, 2022
6d21d55
Merge branch 'main' into opencv2
AlexWaygood Jan 11, 2023
3b4f9b3
Merge branch 'main' of https://github.com/python/typeshed into opencv2
Avasam Jun 5, 2023
bfd370d
Merge branch 'opencv2' of https://github.com/Avasam/typeshed into ope…
Avasam Jun 5, 2023
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
Next Next commit
Bump PyInstaller-stubs to 5.5
  • Loading branch information
Avasam committed Oct 10, 2022
commit 53cbde4b701b801b3bcc705bb4a778cc7ee3e6bb
3 changes: 3 additions & 0 deletions stubs/pyinstaller/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# fake module, only exists once the app is frozen
pyi_splash

# Undocumented and clearly not meant to be exposed
PyInstaller.__main__.generate_parser
PyInstaller.__main__.run_build
PyInstaller.__main__.run_makespec
PyInstaller.utils.hooks.conda.lib_dir

# A mix of modules meant to be private, and shallow incomplete type references for other modules
PyInstaller.building.*
PyInstaller.depend.analysis.*
PyInstaller.isolated._parent.*

# Most modules are not meant to be used, yet are not marked as private
PyInstaller.archive.*
PyInstaller.config
Expand Down
2 changes: 1 addition & 1 deletion stubs/pyinstaller/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "5.4.*"
version = "5.5.*"
requires = ["types-setuptools"]

[tool.stubtest]
Expand Down
1 change: 1 addition & 0 deletions stubs/pyinstaller/PyInstaller/compat.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ is_py37: bool
is_py38: bool
is_py39: bool
is_py310: bool
is_py311: bool
is_win: bool
is_win_10: bool
is_win_wine: bool
Expand Down
0