Commit Graph

62 Commits

Author SHA1 Message Date
Brian Schubert 47dbbd6c91 Add @disjoint_base decorator to the third-party stubs (#14716) 2025-09-15 02:16:16 +02:00
sobolevn 4b0623f4fb Update mypy to 1.18.1 (#14699) 2025-09-14 03:33:27 +02:00
Jelle Zijlstra 573b57d8da Add missing defaults to third-party stubs (#14617) 2025-08-21 13:36:29 -07:00
Brian Schubert 11907e2825 Fix dunder-method positional-only parameter discrepancies in third-party stubs (#14529) 2025-08-08 12:12:44 +02:00
Sebastian Rittau 3f08a4ed10 Split tool.stubtest.platforms metadata key (#13746)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-31 12:07:20 -04:00
qwerty吃小庄 52652635af Type stub for win32com.server (#14492) 2025-07-30 12:38:53 -04:00
Brian Schubert c04c911254 [pywin32] Update LookupAccountSid to accept None for systemName (#14484) 2025-07-28 00:00:59 +02:00
Avasam ddd8434a42 Bump pywin32 to 311.* (#14437) 2025-07-22 10:53:18 +02:00
Sebastian Rittau 126768408a Replace Incomplete | None = None in third party stubs (#14063) 2025-05-15 21:37:43 +02:00
Semyon Moroz 6759cb19e6 Improve pywin32.isapi (#13889) 2025-04-28 13:34:51 +02:00
Tamás PEREGI 1ccaa7f8ef Fix return type of win32wnet.WNetOpenEnum (#13890) 2025-04-27 01:03:42 -04:00
Avasam 9dd2ea67d3 pywin32: Fix various arguments (#13846) 2025-04-25 10:38:36 +02:00
Avasam 45e9a79e26 Bump pywin32 to 310.* (#13667) 2025-03-18 20:31:50 +01:00
Avasam c68ecd75f5 Bump pywin32 to 309 (#13607) 2025-03-10 06:34:42 +01:00
Avasam 89b49d207b Have win32gui.SystemParametersInfo return Any (#13438) 2025-01-27 05:33:52 +01:00
Avasam aa992b9cc6 pywin32: type Get* functions in win32api (#13430) 2025-01-23 21:21:59 +01:00
Stephen Morton 097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Avasam f31a33c5e4 Add pywin32's isapi.install (#13119) 2024-11-26 20:40:25 -08:00
Konstantin Baikov 1cbfc75325 Fix pywin32 GetClipboardData return type (#13046)
Fixes #12825
2024-11-20 09:44:41 -05:00
Avasam e92f98ccda Add win32com.gen_py (#12901) 2024-10-28 11:50:31 +01:00
Avasam fc1e51f76b Allow pywin32 to use pywin.mfc.DocTemplate in lieu of PyCDocTemplate (#12888) 2024-10-24 11:40:24 +02:00
Avasam 4b5a7b09a4 Bump pywin32 to 308.* (#12799) 2024-10-14 10:10:56 +02:00
Avasam 8bc20e7415 Bump pywin32 to 307 (#12742) 2024-10-08 10:12:04 +02:00
Avasam 3719f02dbf Using precise code for pyright: ignore and re-enabling various pyright tests (#12576) 2024-08-22 03:34:52 +02:00
sobolevn 6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Avasam 26c218818b pywin32: Improve SHGetPropertyStoreFromParsingName type definition (#11654)
Improve SHGetPropertyStoreFromParsingName type definition
2024-04-07 07:18:19 -04:00
Avasam f36714b0fb Various pywin32 improvements (#11616) 2024-03-30 19:55:30 +01:00
Avasam 57dee8fd5b Improved pywin32 error and exception classes (#11613) 2024-03-18 14:17:30 -06:00
Avasam dea4dd1dc1 pywin32: Correctly reference TimeType aka pywintypes.datetime (#11577)
* Correctly reference TimeType

* PyUnicode is UnicodeType
2024-03-11 22:42:51 -07:00
Avasam 579d208b19 Add deprecation decorator and comments for pywin32 (#11570)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-11 12:36:44 -07:00
Shantanu 4d8ae17776 Bump mypy to 1.9, add to json.encoder, small fixups (#11549)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-09 14:25:00 -08:00
Avasam 5785712eff pywin32: Remove reference to stubgen dll analysis issue (#11323) 2024-01-29 12:06:56 +01:00
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 e76e6811e1 Fix pywin32's PyCBitmap.GetBitmapBits method (#11108) 2023-12-07 05:40:00 -05: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
bzoracler f02c92717b pywin32: Annotate win32com.client.constants (#10888) 2023-10-15 14:17:50 +02:00
Avasam d82a8325fa pywin32: Fix PyNETRESOURCE descriptor members wrongly marked as readonly (#10574) 2023-08-13 23:36:45 +01:00
Sebastian Rittau afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02: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
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