diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-11-26 18:41:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 18:41:31 +0000 |
commit | ffd858aa68239aeaf06591d94c0ab1b3c185440f (patch) | |
tree | d8802699acbc78790551e6c232f12650b65cab75 /mypy.ini | |
parent | Support expiry of refresh tokens and expiry of the overall session when refre... (diff) | |
download | synapse-ffd858aa68239aeaf06591d94c0ab1b3c185440f.tar.xz |
Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411)
Also refactor the stream ID trackers/generators a bit and try to document them better.
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 bc4f59154d..eb3976e74c 100644 --- a/mypy.ini +++ b/mypy.ini @@ -33,7 +33,6 @@ exclude = (?x) |synapse/storage/databases/main/event_federation.py |synapse/storage/databases/main/event_push_actions.py |synapse/storage/databases/main/events_bg_updates.py - |synapse/storage/databases/main/events_worker.py |synapse/storage/databases/main/group_server.py |synapse/storage/databases/main/metrics.py |synapse/storage/databases/main/monthly_active_users.py @@ -184,6 +183,9 @@ disallow_untyped_defs = True [mypy-synapse.storage.databases.main.directory] disallow_untyped_defs = True +[mypy-synapse.storage.databases.main.events_worker] +disallow_untyped_defs = True + [mypy-synapse.storage.databases.main.room_batch] disallow_untyped_defs = True |