Skip to content

Commit 0b71c96

Browse files
authored
Add pywin32 type stubs from microsoft/python-type-stubs and mhammond/pywin32 (#8825)
1 parent bee4ee3 commit 0b71c96

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+22101
-0
lines changed

pyrightconfig.stricter.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"stubs/python-dateutil",
7777
"stubs/python-jose",
7878
"stubs/pyvmomi",
79+
"stubs/pywin32",
7980
"stubs/PyYAML",
8081
"stubs/redis",
8182
"stubs/requests",
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Not available at runtime. Contains type definitions that are otherwise not exposed
2+
_win32typing
3+
win32comext.mapi.exchdapi
4+
win32.winxptheme
5+
win32.wincerapi
6+
7+
# incomplete
8+
pythoncom.*
9+
pythonwin.pywin.*
10+
win32.lib.pywintypes.*
11+
win32.lib.ntsecuritycon.*
12+
win32.lib.sspicon.*
13+
win32.lib.win2kras.*
14+
win32.lib.win32con.*
15+
win32.lib.win32cryptcon.*
16+
win32.lib.win32inetcon.*
17+
win32.lib.win32netcon.*
18+
win32.lib.winioctlcon.*
19+
win32.win32pdh.*
20+
win32.win32ras.*
21+
win32.win32wnet.*
22+
win32comext.adsi.*
23+
win32comext.mapi.exchange.*
24+
win32comext.shell.shell.*
25+
win32comext.directsound.directsound.*
26+
27+
win32comext.axdebug.axdebug
28+
win32comext.internet.internet
29+
win32comext.adsi.adsicon
30+
win32comext.axdebug.adb
31+
win32comext.axdebug.codecontainer
32+
win32comext.axdebug.contexts
33+
win32comext.axdebug.debugger
34+
win32comext.axdebug.documents
35+
win32comext.axdebug.dump
36+
win32comext.axdebug.expressions
37+
win32comext.axdebug.gateways
38+
win32comext.axdebug.stackframe
39+
win32comext.axdebug.util
40+
win32comext.axscript.asputil
41+
win32comext.axscript.client.*
42+
win32comext.axscript.server.*
43+
win32comext.directsound.test.*
44+
win32comext.ifilter.ifiltercon
45+
win32comext.internet.inetcon
46+
win32comext.mapi.emsabtags
47+
win32comext.mapi.mapitags
48+
win32comext.mapi.mapiutil
49+
win32comext.propsys.pscon
50+
win32comext.shell.shellcon

stubs/pywin32/METADATA.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version = "304.*"
2+
3+
[tool.stubtest]
4+
# The library only works on Windows; we currently only run stubtest on Ubuntu for third-party stubs in CI.
5+
# See #8660
6+
skip = true

0 commit comments

Comments
 (0)