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
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