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

@@ -97,7 +97,7 @@ matrix-client==0.3.2
mock==2.0.0
moto==1.3.3
mypy-extensions==0.4.1
mypy==0.641
mypy==0.650
ndg-httpsclient==0.5.1
oauth2client==4.1.3
oauthlib==2.1.0

View File

@@ -2,7 +2,7 @@
# /tools/update-locked-requirements to update requirements/dev.txt
# and requirements/mypy.txt.
# See requirements/README.md for more detail.
mypy==0.641
mypy==0.650
# Include typing explicitly, since it's needed on Python 3.4
typing==3.6.6
typing_extensions==3.6.6

View File

@@ -8,7 +8,7 @@
# For details, see requirements/README.md .
#
mypy-extensions==0.4.1 # via mypy
mypy==0.641
mypy==0.650
typed-ast==1.1.0 # via mypy
typing==3.6.6
typing_extensions==3.6.6

View File

@@ -11,4 +11,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2018/11/07/zulip-1-9-relea
# Typically, adding a dependency only requires a minor version bump, and
# removing a dependency requires a major version bump.
PROVISION_VERSION = '26.16'
PROVISION_VERSION = '26.17'

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