pywin32: Remove IID that doesn't exist at runtime (#8930)

Remove IID that doesn't exist at runtime
This commit is contained in:
Samuel T
2022-10-19 10:21:19 -04:00
committed by GitHub
parent 2519a2a686
commit 96af812c07
14 changed files with 2 additions and 13 deletions

View File

@@ -2,4 +2,6 @@ version = "304.*"
[tool.stubtest]
# The library only works on Windows; we currently only run stubtest on Ubuntu for third-party stubs in CI.
# See #8660
# `ignore_missing_stub = false` crashes stubtest. This should be fixed in next mypy update
# https://github.com/python/mypy/issues/13822
skip = true

View File

@@ -2,7 +2,6 @@ from _typeshed import Incomplete
from typing_extensions import TypeAlias
import _win32typing
from pywintypes import IID as IID
from win32.lib.pywintypes import com_error
error: TypeAlias = com_error # noqa: Y042

View File

@@ -1,5 +1,4 @@
import _win32typing
from pywintypes import IID as IID
def EditSecurity(*args, **kwargs): ... # incomplete

View File

@@ -1,5 +1,4 @@
import _win32typing
from pywintypes import IID as IID
def OleCreate(
clsid,

View File

@@ -2,7 +2,6 @@
# "ImportError: DLL load failed while importing axdebug: The specified module could not be found."
# https://github.com/python/mypy/issues/13822
import _win32typing
from pywintypes import IID as IID
APPBREAKFLAG_DEBUGGER_BLOCK: int
APPBREAKFLAG_DEBUGGER_HALT: int

View File

@@ -1,5 +1,4 @@
import _win32typing
from pywintypes import IID as IID
CATID_ActiveScript: _win32typing.PyIID
CATID_ActiveScriptParse: _win32typing.PyIID

View File

@@ -1,5 +1,4 @@
import _win32typing
from pywintypes import IID as IID
BG_AUTH_SCHEME_BASIC: int
BG_AUTH_SCHEME_DIGEST: int

View File

@@ -1,7 +1,6 @@
from _typeshed import Incomplete
import _win32typing
from pywintypes import IID as IID
def DirectSoundCreate(guid: _win32typing.PyIID | None = ..., unk: Incomplete | None = ...) -> _win32typing.PyIUnknown: ...
def DirectSoundEnumerate(): ...

View File

@@ -1,5 +1,4 @@
import _win32typing
from pywintypes import IID as IID
def BindIFilterFromStorage(*args, **kwargs): ... # incomplete
def BindIFilterFromStream(*args, **kwargs): ... # incomplete

View File

@@ -1,5 +1,4 @@
import _win32typing
from pywintypes import IID as IID
OPENSTORE_HOME_LOGON: int
OPENSTORE_OVERRIDE_HOME_MDB: int

View File

@@ -1,7 +1,6 @@
from _typeshed import Incomplete
import _win32typing
from pywintypes import IID as IID
def HexFromBin(val: str) -> str: ...
def BinFromHex(val: str) -> str: ...

View File

@@ -1,7 +1,6 @@
from typing_extensions import TypeAlias
import _win32typing
from pywintypes import IID as IID
from win32.lib.pywintypes import com_error
error: TypeAlias = com_error # noqa: Y042

View File

@@ -2,7 +2,6 @@ from _typeshed import Incomplete
from typing_extensions import TypeAlias
import _win32typing
from pywintypes import IID as IID
from win32.lib.pywintypes import com_error
error: TypeAlias = com_error # noqa: Y042

View File

@@ -1,5 +1,4 @@
import _win32typing
from pywintypes import IID as IID
CLSID_CTask: _win32typing.PyIID
CLSID_CTaskScheduler: _win32typing.PyIID