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

Commit c46065f

Browse files
dklimpelclokep
andauthored
Add some type hints to datastore (#12248)
* inherit `MonthlyActiveUsersStore` from `RegistrationWorkerStore` Co-authored-by: Patrick Cloke <[email protected]>
1 parent 872dbb0 commit c46065f

File tree

4 files changed

+117
-84
lines changed

4 files changed

+117
-84
lines changed

changelog.d/12248.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add missing type hints for storage.

mypy.ini

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ exclude = (?x)
4242
|synapse/storage/databases/main/cache.py
4343
|synapse/storage/databases/main/devices.py
4444
|synapse/storage/databases/main/event_federation.py
45-
|synapse/storage/databases/main/group_server.py
46-
|synapse/storage/databases/main/metrics.py
47-
|synapse/storage/databases/main/monthly_active_users.py
4845
|synapse/storage/databases/main/push_rule.py
4946
|synapse/storage/databases/main/receipts.py
5047
|synapse/storage/databases/main/roommember.py
@@ -87,9 +84,6 @@ exclude = (?x)
8784
|tests/state/test_v2.py
8885
|tests/storage/test_background_update.py
8986
|tests/storage/test_base.py
90-
|tests/storage/test_client_ips.py
91-
|tests/storage/test_database.py
92-
|tests/storage/test_event_federation.py
9387
|tests/storage/test_id_generators.py
9488
|tests/storage/test_roommember.py
9589
|tests/test_metrics.py

0 commit comments

Comments
 (0)