requirements: Upgrade mypy to 0.670.

Requires minor adjustment for accented 'i' in variable name.
This commit is contained in:
neiljp (Neil Pilgrim) 2019-04-06 06:03:54 +00:00 committed by Tim Abbott
parent 2160ece8e2
commit 1348c8fd05
5 changed files with 8 additions and 8 deletions

View File

@ -99,7 +99,7 @@ matrix-client==0.3.2
mock==2.0.0
moto==1.3.7
mypy-extensions==0.4.1
mypy==0.660
mypy==0.670
ndg-httpsclient==0.5.1
oauth2client==4.1.3
oauthlib==3.0.1
@ -182,7 +182,7 @@ traitlets==4.3.2 # via ipython
transifex-client==0.12.5
twilio==6.25.0
twisted==18.9.0
typed-ast==1.2.0 # via mypy
typed-ast==1.3.1 # via mypy
typing==3.6.6
typing_extensions==3.6.6
uritemplate==3.0.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.660
mypy==0.670
# 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.660
typed-ast==1.2.0 # via mypy
mypy==0.670
typed-ast==1.3.1 # via mypy
typing==3.6.6
typing_extensions==3.6.6

View File

@ -11,4 +11,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/03/01/zulip-2-0-relea
# Typically, adding a dependency only requires a minor version bump, and
# removing a dependency requires a major version bump.
PROVISION_VERSION = '30.1'
PROVISION_VERSION = '30.2'

View File

@ -376,11 +376,11 @@ def mark_topic_as_read(client):
# type: (Client) -> None
# Grab an existing topic name
topìc_name = client.get_stream_topics(1)['topics'][0]['name']
topic_name = client.get_stream_topics(1)['topics'][0]['name']
# {code_example|start}
# Mark the unread messages in stream 1's topic "topic_name" as read
result = client.mark_topic_as_read(1, topìc_name)
result = client.mark_topic_as_read(1, topic_name)
# {code_example|end}
validate_against_openapi_schema(result, '/mark_stream_as_read', 'post', '200')