mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-25 13:21:11 +08:00
pywin32: Remove IID that doesn't exist at runtime (#8930)
Remove IID that doesn't exist at runtime
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _win32typing
|
||||
from pywintypes import IID as IID
|
||||
|
||||
def EditSecurity(*args, **kwargs): ... # incomplete
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _win32typing
|
||||
from pywintypes import IID as IID
|
||||
|
||||
def OleCreate(
|
||||
clsid,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _win32typing
|
||||
from pywintypes import IID as IID
|
||||
|
||||
CATID_ActiveScript: _win32typing.PyIID
|
||||
CATID_ActiveScriptParse: _win32typing.PyIID
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _win32typing
|
||||
from pywintypes import IID as IID
|
||||
|
||||
BG_AUTH_SCHEME_BASIC: int
|
||||
BG_AUTH_SCHEME_DIGEST: int
|
||||
|
||||
@@ -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(): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _win32typing
|
||||
from pywintypes import IID as IID
|
||||
|
||||
def BindIFilterFromStorage(*args, **kwargs): ... # incomplete
|
||||
def BindIFilterFromStream(*args, **kwargs): ... # incomplete
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _win32typing
|
||||
from pywintypes import IID as IID
|
||||
|
||||
OPENSTORE_HOME_LOGON: int
|
||||
OPENSTORE_OVERRIDE_HOME_MDB: int
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _win32typing
|
||||
from pywintypes import IID as IID
|
||||
|
||||
CLSID_CTask: _win32typing.PyIID
|
||||
CLSID_CTaskScheduler: _win32typing.PyIID
|
||||
|
||||
Reference in New Issue
Block a user