summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2021-12-15 18:00:48 +0000
committerGitHub <noreply@github.com>2021-12-15 18:00:48 +0000
commitc7fe32edb4da58a262ec37ce6fde7bef95920872 (patch)
tree643f4653b42a18d15c68390c982356341611e7d3 /mypy.ini
parentRequire Collections as the parameters for simple_* methods. (#11580) (diff)
downloadsynapse-c7fe32edb4da58a262ec37ce6fde7bef95920872.tar.xz
Add type hints to `synapse/storage/databases/main/room.py` (#11575)
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/mypy.ini b/mypy.ini
index e38ad635aa..cbe1e8302c 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -37,7 +37,6 @@ exclude = (?x)
    |synapse/storage/databases/main/purge_events.py
    |synapse/storage/databases/main/push_rule.py
    |synapse/storage/databases/main/receipts.py
-   |synapse/storage/databases/main/room.py
    |synapse/storage/databases/main/roommember.py
    |synapse/storage/databases/main/search.py
    |synapse/storage/databases/main/state.py
@@ -205,6 +204,9 @@ disallow_untyped_defs = True
 [mypy-synapse.storage.databases.main.events_worker]
 disallow_untyped_defs = True
 
+[mypy-synapse.storage.databases.main.room]
+disallow_untyped_defs = True
+
 [mypy-synapse.storage.databases.main.room_batch]
 disallow_untyped_defs = True