summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-12-29 14:01:13 +0100
committerGitHub <noreply@github.com>2021-12-29 08:01:13 -0500
commit15bb1c8511c13197a75df93f6a8021ec5f9586e6 (patch)
treeb46aee0b1ff8fdeec2a06d434239deb5946c2344 /mypy.ini
parentUpdate to the current version of Black and run it on Synapse codebase (#11596) (diff)
downloadsynapse-15bb1c8511c13197a75df93f6a8021ec5f9586e6.tar.xz
Add type hints to `synapse/storage/databases/main/stats.py` (#11653)
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 57e1a5df43..724c7e2ae4 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -39,7 +39,6 @@ exclude = (?x)
    |synapse/storage/databases/main/roommember.py
    |synapse/storage/databases/main/search.py
    |synapse/storage/databases/main/state.py
-   |synapse/storage/databases/main/stats.py
    |synapse/storage/databases/main/user_directory.py
    |synapse/storage/schema/
 
@@ -214,6 +213,9 @@ disallow_untyped_defs = True
 [mypy-synapse.storage.databases.main.profile]
 disallow_untyped_defs = True
 
+[mypy-synapse.storage.databases.main.stats]
+disallow_untyped_defs = True
+
 [mypy-synapse.storage.databases.main.state_deltas]
 disallow_untyped_defs = True