diff options
author | David Robertson <davidr@element.io> | 2021-11-12 20:24:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 20:24:12 +0000 |
commit | fe58672546ce6e43e3cb4f9924efee51c905d801 (patch) | |
tree | c1dfbb2775ec733d1ada28144769ebefff8031c3 /mypy.ini | |
parent | Rollback #11322 due to wrong syntax in mypy.ini. (#11332) (diff) | |
download | synapse-fe58672546ce6e43e3cb4f9924efee51c905d801.tar.xz |
Annotations for state_deltas.py (#11316)
I was sad that I couldn't do better for `_curr_state_delta_stream_cache`. At least it's explicitly called out in a comment with #TODO.
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mypy.ini b/mypy.ini index 108e1e895c..d07273e63c 100644 --- a/mypy.ini +++ b/mypy.ini @@ -47,7 +47,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/state_deltas.py |synapse/storage/databases/main/stats.py |synapse/storage/databases/main/transactions.py |synapse/storage/databases/main/user_directory.py @@ -181,6 +180,9 @@ disallow_untyped_defs = True [mypy-synapse.storage.databases.main.room_batch] disallow_untyped_defs = True +[mypy-synapse.storage.databases.main.state_deltas] +disallow_untyped_defs = True + [mypy-synapse.storage.databases.main.user_erasure_store] disallow_untyped_defs = True |