Bump mypy to 1.11.1 (#12463)

This commit is contained in:
sobolevn authored and GitHub committed 2024-08-04 23:19:28 -07:00
1 parent 0fd6cd211f
commit 6f248dfa37
46 files changed
+120 -113

No files matched your search

+2 -2
View File
@@ -8,10 +8,10 @@ DEFAULT_ENCODING: str
def from_unicode(value: str | bytes, encoding: str = "utf-8") -> bytes: ...
def to_unicode(value: str | bytes, encoding: str = "utf-8") -> str: ...
@overload
def data_encode(data: str, encoding: str = ...) -> bytes: ... # type: ignore[misc]
def data_encode(data: str, encoding: str = ...) -> bytes: ...
@overload
def data_encode(data: dict[Any, Any], encoding: str = ...) -> dict[Any, Any]: ...
@overload
def data_encode(data: list[Any] | tuple[Any, ...], encoding: str = ...) -> list[Any]: ... # type: ignore[misc]
def data_encode(data: list[Any] | tuple[Any, ...], encoding: str = ...) -> list[Any]: ...
@overload
def data_encode(data: _T, encoding: str = ...) -> _T: ...