summary refs log tree commit diff
path: root/synapse/storage/databases/main
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-09-30 17:36:28 +0100
committerGitHub <noreply@github.com>2022-09-30 17:36:28 +0100
commit285d72556bb3c36f075b336b2bdd6acb08391ad5 (patch)
treecfb2d30a94b8813e84bc47dc21ed6961ae992e84 /synapse/storage/databases/main
parentRevert "Update mypy and mypy-zope (#13925)" (diff)
downloadsynapse-285d72556bb3c36f075b336b2bdd6acb08391ad5.tar.xz
Update mypy and mypy-zope, attempt 3 (#13993)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Diffstat (limited to 'synapse/storage/databases/main')
-rw-r--r--synapse/storage/databases/main/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/search.py b/synapse/storage/databases/main/search.py
index f6e24b68d2..1b79acf955 100644
--- a/synapse/storage/databases/main/search.py
+++ b/synapse/storage/databases/main/search.py
@@ -641,7 +641,7 @@ class SearchStore(SearchBackgroundUpdateStore):
             raise Exception("Unrecognized database engine")
 
         # mypy expects to append only a `str`, not an `int`
-        args.append(limit)  # type: ignore[arg-type]
+        args.append(limit)
 
         results = await self.db_pool.execute(
             "search_rooms", self.db_pool.cursor_to_dict, sql, *args