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-13 16:28:10 +0000
committerGitHub <noreply@github.com>2021-12-13 16:28:10 +0000
commit6da8591f2ef9597880ace89aaf434332dddaa711 (patch)
treead7366da00d9de508201d95918eff082e6f8fb05 /mypy.ini
parentMake `get_device` return None if the device doesn't exist rather than raising... (diff)
downloadsynapse-6da8591f2ef9597880ace89aaf434332dddaa711.tar.xz
Add type hints to `synapse/storage/databases/main/account_data.py` (#11546)
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 1caf807e85..4b2ddafd20 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -25,7 +25,6 @@ exclude = (?x)
   ^(
    |synapse/storage/databases/__init__.py
    |synapse/storage/databases/main/__init__.py
-   |synapse/storage/databases/main/account_data.py
    |synapse/storage/databases/main/cache.py
    |synapse/storage/databases/main/devices.py
    |synapse/storage/databases/main/e2e_room_keys.py
@@ -181,6 +180,9 @@ disallow_untyped_defs = True
 [mypy-synapse.state.*]
 disallow_untyped_defs = True
 
+[mypy-synapse.storage.databases.main.account_data]
+disallow_untyped_defs = True
+
 [mypy-synapse.storage.databases.main.client_ips]
 disallow_untyped_defs = True