summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-11-15 12:59:05 +0000
committerGitHub <noreply@github.com>2021-11-15 12:59:05 +0000
commit5562ce6a534db61777ad81338aa5dd0a9a54032f (patch)
tree4235d1c752d8e58ae04ef6b9a6e72b1f1d23ce1a /mypy.ini
parentAdd support for the stable version of MSC2778 (#11335) (diff)
downloadsynapse-5562ce6a534db61777ad81338aa5dd0a9a54032f.tar.xz
Get directory db file to pass mypy (#11339)
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 d07273e63c..710b1f3a4b 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -28,7 +28,6 @@ exclude = (?x)
    |synapse/storage/databases/main/account_data.py
    |synapse/storage/databases/main/cache.py
    |synapse/storage/databases/main/devices.py
-   |synapse/storage/databases/main/directory.py
    |synapse/storage/databases/main/e2e_room_keys.py
    |synapse/storage/databases/main/end_to_end_keys.py
    |synapse/storage/databases/main/event_federation.py
@@ -177,6 +176,9 @@ disallow_untyped_defs = True
 [mypy-synapse.storage.databases.main.client_ips]
 disallow_untyped_defs = True
 
+[mypy-synapse.storage.databases.main.directory]
+disallow_untyped_defs = True
+
 [mypy-synapse.storage.databases.main.room_batch]
 disallow_untyped_defs = True