Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Bump the mypy and mypy-zope versions. (#9529)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Mar 3, 2021
1 parent 16f9f93 commit 0c33042
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/9529.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump the versions of mypy and mypy-zope used for static type checking.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def exec_file(path_segments):
"flake8",
]

CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.790", "mypy-zope==0.2.8"]
CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.812", "mypy-zope==0.2.11"]

# Dependencies which are exclusively required by unit test code. This is
# NOT a list of all modules that are necessary to run the unit tests.
Expand Down
2 changes: 1 addition & 1 deletion synapse/replication/tcp/streams/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ class AccountDataStream(Stream):
"""Global or per room account data was changed"""

AccountDataStreamRow = namedtuple(
"AccountDataStream",
"AccountDataStreamRow",
("user_id", "room_id", "data_type"), # str # Optional[str] # str
)

Expand Down
2 changes: 1 addition & 1 deletion synapse/storage/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
)

GetRoomsForUserWithStreamOrdering = namedtuple(
"_GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos")
"GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos")
)


Expand Down

0 comments on commit 0c33042

Please sign in to comment.