Skip to content

Commit 0c33042

Browse files
authored
Bump the mypy and mypy-zope versions. (matrix-org#9529)
1 parent 16f9f93 commit 0c33042

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

changelog.d/9529.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump the versions of mypy and mypy-zope used for static type checking.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def exec_file(path_segments):
102102
"flake8",
103103
]
104104

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

107107
# Dependencies which are exclusively required by unit test code. This is
108108
# NOT a list of all modules that are necessary to run the unit tests.

synapse/replication/tcp/streams/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ class AccountDataStream(Stream):
502502
"""Global or per room account data was changed"""
503503

504504
AccountDataStreamRow = namedtuple(
505-
"AccountDataStream",
505+
"AccountDataStreamRow",
506506
("user_id", "room_id", "data_type"), # str # Optional[str] # str
507507
)
508508

synapse/storage/roommember.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
)
2626

2727
GetRoomsForUserWithStreamOrdering = namedtuple(
28-
"_GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos")
28+
"GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos")
2929
)
3030

3131

0 commit comments

Comments
 (0)