Bump the mypy and mypy-zope versions. (#9529)
This commit is contained in:
parent
16f9f93eb7
commit
0c330423bc
|
@ -0,0 +1 @@
|
||||||
|
Bump the versions of mypy and mypy-zope used for static type checking.
|
2
setup.py
2
setup.py
|
@ -102,7 +102,7 @@ CONDITIONAL_REQUIREMENTS["lint"] = [
|
||||||
"flake8",
|
"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
|
# 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.
|
# NOT a list of all modules that are necessary to run the unit tests.
|
||||||
|
|
|
@ -502,7 +502,7 @@ class AccountDataStream(Stream):
|
||||||
"""Global or per room account data was changed"""
|
"""Global or per room account data was changed"""
|
||||||
|
|
||||||
AccountDataStreamRow = namedtuple(
|
AccountDataStreamRow = namedtuple(
|
||||||
"AccountDataStream",
|
"AccountDataStreamRow",
|
||||||
("user_id", "room_id", "data_type"), # str # Optional[str] # str
|
("user_id", "room_id", "data_type"), # str # Optional[str] # str
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ RoomsForUser = namedtuple(
|
||||||
)
|
)
|
||||||
|
|
||||||
GetRoomsForUserWithStreamOrdering = namedtuple(
|
GetRoomsForUserWithStreamOrdering = namedtuple(
|
||||||
"_GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos")
|
"GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue