Commit Graph

18 Commits

Author SHA1 Message Date
Avasam
0b8841edd8 pywin32: Use PEP 570 positional-only argument syntax and fix arguments (#11321) 2024-01-27 12:27:05 +01:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Avasam
96526875f7 pywin32 annotations improvements (#11177) 2023-12-18 13:33:56 +01:00
Avasam
f85c2f4ae1 Type pywin32's win32.win32print.StartDocPrinter method (#10898)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-28 08:48:05 -07:00
Avasam
d82a8325fa pywin32: Fix PyNETRESOURCE descriptor members wrongly marked as readonly (#10574) 2023-08-13 23:36:45 +01:00
Glyph
82ea677495 pywin32: add HANDLEType class (#10032)
per http://timgolden.me.uk/pywin32-docs/PyHANDLE.html these objects actually have methods, they are not ints

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-27 20:44:01 -07: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
Alex Waygood
2b9f200e7e Reenable flake8-pyi's Y011 and Y015 (#9551) 2023-01-16 22:52:40 +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
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
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
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