Commit Graph

21 Commits

Author SHA1 Message Date
Alex Waygood
6fd7e36e80 Add default values for third-party stubs beginning with 'P' (#9957) 2023-03-27 18:58:53 +01:00
Avasam
e5bab38a28 Bump pywin32 to 306.* (#9945)
Release: https://pypi.org/pypi/pywin32/306
Homepage: https://github.com/mhammond/pywin32
2023-03-26 18:58:35 +01:00
Francesc Elies
35a46915e6 Add missing types to pywin32.win32api (#9920)
Co-authored-by: Francesc Elies <francesc.elies@mbbm-ast.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-22 16:13:18 +00:00
Benjamin Parzella
2fe634f01c [pywin32] win32gui.FindWindowEx parameters __ClassName and __WindowName are optional (#9859) 2023-03-09 13:56:20 +01:00
Avasam
ed6748fb32 Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Alex Waygood
2b9f200e7e Reenable flake8-pyi's Y011 and Y015 (#9551) 2023-01-16 22:52:40 +00:00
Avasam
1946907451 Allowlist-only fixes for stubtest on Windows (#9522) 2023-01-13 12:45:38 +00:00
Avasam
23ac9bff19 Check for unused pyright: ignore and differentiate from mypy ignores (#9397) 2022-12-28 10:44:29 +00:00
Alex Waygood
40bfc266f7 3rd-party stubtest: run on Python 3.10 (#9342) 2022-12-07 20:25:57 +00:00
Avasam
0c3cf8f5e6 More pywin32 stub completion (#9308)
Completed based on usage of the following libraries in mypy_primer:
- apprise
- comtypes
As well as some of the most popular libraries that use both pywin32 and mypy (all over 1k stars on github):
- certbot
- anki
- flexget
- monkey
- twisted
- salt

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-05 22:23:35 +00:00
Nikita Sobolev
18e2ae762b Mark first argument of __[get|set|del]attr__ as str (#9245) 2022-11-22 11:06:50 +00:00
Nikita Sobolev
9cd9f6f6e0 Add the ability to run third-party stubtest on Windows or MacOS when needed (#8923)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-11-11 13:40:50 +00:00
Samuel T
19169c1646 Update pywin32 to 305 (#9153) 2022-11-10 12:30:53 -08:00
Samuel T
0ac98f6b80 Update pywin32 to mypy 0.990 (#9124) 2022-11-09 19:20:56 -08:00
Nikita Sobolev
62a6c3d616 Annotate known magic-method return types (#9131) 2022-11-08 18:28:42 +00:00
Samuel T
98dac4c926 pywin32: Improve some types (#9089) 2022-11-04 17:48:53 -07:00
Samuel T
a46c48136b pywin32 stubs update (#9040)
boolean methods
win32gui_struct
MonitorFromRect, FindWindow, FindWindowEx, GetWindowPlacement, GetMenuItemRect
2022-10-30 16:04:37 -07:00
Samuel T
96af812c07 pywin32: Remove IID that doesn't exist at runtime (#8930)
Remove IID that doesn't exist at runtime
2022-10-19 07:21:19 -07:00
Samuel T
99cb36a784 pywin32: Complete modules using stubgen & stubtest (#8866)
Complete modules using stubgen & stubtest
2022-10-07 18:56:17 +01:00
Samuel T
0b71c96970 Add pywin32 type stubs from microsoft/python-type-stubs and mhammond/pywin32 (#8825) 2022-10-03 09:32:43 -07:00