Bump mypy to 1.0 (#9684)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-02-06 15:57:17 -08:00
1 parent f7cb7f33b2
commit efee70abfa
37 files changed
+45 -167

No files matched your search

+2 -2
View File
@@ -42,5 +42,5 @@ def clamp_value(minimum: int, val: int, maximum: int) -> int: ...
# This function attempts to convert objects to bytes,
# *but* just returns the object unchanged if that was unsuccessful!
def asbytes(s: object) -> object: ...
def b(s: str | bytes, encoding: str = "utf-8") -> bytes: ...
def u(s: str | bytes, encoding: str = "utf-8") -> str: ...
def b(s: str | bytes, encoding: str = "utf8") -> bytes: ...
def u(s: str | bytes, encoding: str = "utf8") -> str: ...