disallow-untyped-defs for synapse.push (#11023)

This commit is contained in:
David Robertson 2021-10-11 17:42:10 +01:00 committed by GitHub
parent 5e29d417fc
commit e0f11ae4a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 10 deletions

View file

@ -94,7 +94,7 @@ class Pusher(metaclass=abc.ABCMeta):
self._start_processing()
@abc.abstractmethod
def _start_processing(self):
def _start_processing(self) -> None:
"""Start processing push notifications."""
raise NotImplementedError()