Fix lints

This commit is contained in:
Eric Eastwood 2024-06-12 18:29:39 -05:00
parent d5929f15af
commit 8935c6c81a
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ class SlidingSyncHandler:
range=range,
room_ids=[
room_id
for room_id, rooms_for_user in sorted_room_info.items()[
for room_id, _ in sorted_room_info[
range[0] : range[1]
]
],

View file

@ -1187,7 +1187,7 @@ class SortRoomsTestCase(HomeserverTestCase):
(Membership.BAN,),
]
)
def test_activity_after_xxx(self, room1_membership: Membership) -> None:
def test_activity_after_xxx(self, room1_membership: str) -> None:
"""
When someone has left/been invited/knocked/been banned from a room, they
shouldn't take anything into account after that membership event.