mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
Revert "Update locked versions of mypy and mypy-zope (#13521)"
This reverts commit f383b9b3ec
. Other PRs
were seeing mypy failures that looked to be related to mypy-zope.
Confusingly, we didn't see this on #13521.
Revert this for now and investigate later.
This commit is contained in:
parent
46bd7f4ed9
commit
19e5d44886
7 changed files with 73 additions and 60 deletions
|
@ -271,7 +271,9 @@ class MockClock:
|
|||
*args: P.args,
|
||||
**kwargs: P.kwargs,
|
||||
) -> None:
|
||||
self.loopers.append(Looper(function, interval / 1000.0, self.now, args, kwargs))
|
||||
# This type-ignore should be redundant once we use a mypy release with
|
||||
# https://github.com/python/mypy/pull/12668.
|
||||
self.loopers.append(Looper(function, interval / 1000.0, self.now, args, kwargs)) # type: ignore[arg-type]
|
||||
|
||||
def cancel_call_later(self, timer: Timer, ignore_errs: bool = False) -> None:
|
||||
if timer.expired:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue