Update mypy to 1.18.1 (#14699)

This commit is contained in:
sobolevn
2025-09-14 03:33:27 +02:00
committed by GitHub
parent 59c36c8bf9
commit 4b0623f4fb
31 changed files with 70 additions and 108 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import types
from _typeshed import Incomplete, ReadableBuffer, WriteableBuffer
from collections.abc import Callable, Hashable
from typing import Any, ClassVar, Literal, Protocol, SupportsIndex, TypeVar, final, overload, type_check_only
from typing_extensions import TypeAlias
from typing_extensions import Self, TypeAlias
_T = TypeVar("_T")
@@ -92,7 +92,7 @@ class _CDataBase:
@final
class buffer:
__hash__: ClassVar[None] # type: ignore[assignment]
def __init__(self, *args, **kwargs) -> None: ...
def __new__(cls, *args, **kwargs) -> Self: ...
def __buffer__(self, flags: int, /) -> memoryview: ...
def __delitem__(self, other, /) -> None: ...
def __eq__(self, other, /): ...