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:
neiljp (Neil Pilgrim)
2018-12-08 17:20:39 +00:00
committed by Tim Abbott
parent 9bfea2adba
commit 63768858ff
5 changed files with 5 additions and 5 deletions

View File

@@ -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):