mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 07:06:55 +08:00
Remove mock from pyright's exclude (#8942)
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
"stubs/jsonschema",
|
||||
"stubs/ldap3",
|
||||
"stubs/Markdown",
|
||||
"stubs/mock",
|
||||
"stubs/mysqlclient",
|
||||
"stubs/oauthlib",
|
||||
"stubs/openpyxl",
|
||||
|
||||
@@ -55,9 +55,9 @@ class _Call(tuple[Any, ...]):
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> _Call: ...
|
||||
def __getattr__(self, attr: str) -> Any: ...
|
||||
@property
|
||||
def args(self): ...
|
||||
def args(self) -> tuple[Any, ...]: ...
|
||||
@property
|
||||
def kwargs(self): ...
|
||||
def kwargs(self) -> dict[str, Any]: ...
|
||||
def call_list(self) -> _CallList: ...
|
||||
|
||||
call: _Call
|
||||
@@ -289,7 +289,7 @@ class AsyncMock(AsyncMockMixin, AsyncMagicMixin, Mock): ...
|
||||
class MagicProxy(Base):
|
||||
name: str
|
||||
parent: Any
|
||||
def __init__(self, name: str, parent) -> None: ...
|
||||
def __init__(self, name: str, parent: Any) -> None: ...
|
||||
def create_mock(self) -> Any: ...
|
||||
def __get__(self, obj: Any, _type: Any | None = ...) -> Any: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user