mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
dependencies: Upgrade mypy to version 0.650.
Broaden the type of the AbstractEnum __reduce_ex__ parameter to object; this matches the parameter type specified in the latest enum.pyi file in typeshed. Fixes #10996.
This commit is contained in:
committed by
Tim Abbott
parent
9bfea2adba
commit
63768858ff
@@ -21,7 +21,7 @@ class AbstractEnum(Enum):
|
||||
def value(self) -> None:
|
||||
raise AssertionError("Not implemented")
|
||||
|
||||
def __reduce_ex__(self, proto: int) -> NoReturn:
|
||||
def __reduce_ex__(self, proto: object) -> NoReturn:
|
||||
raise AssertionError("Not implemented")
|
||||
|
||||
class ErrorCode(AbstractEnum):
|
||||
|
||||
Reference in New Issue
Block a user