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

Add type hints to some tests files #12371

Merged
merged 5 commits into from
Apr 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/storage/test_monthly_active_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
FORTY_DAYS = 40 * 24 * 60 * 60


def gen_3pids(count: int):
def gen_3pids(count: int) -> Dict[str, Any]:
DMRobertson marked this conversation as resolved.
Show resolved Hide resolved
"""Generate `count` threepids as a list."""
return [
{"medium": "email", "address": "user%i@matrix.org" % i} for i in range(count)
Expand Down