Revert "Update mypy and mypy-zope (#13925)"

This reverts commit 6d543d6d9f.
This commit is contained in:
David Robertson 2022-09-30 16:37:48 +01:00
parent 6d543d6d9f
commit 8e52cb0bce
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD
10 changed files with 67 additions and 60 deletions

View file

@ -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)
args.append(limit) # type: ignore[arg-type]
results = await self.db_pool.execute(
"search_rooms", self.db_pool.cursor_to_dict, sql, *args