diff --git a/synapse/appservice/scheduler.py b/synapse/appservice/scheduler.py index 92b60c19b36d..31ae0c8f82eb 100644 --- a/synapse/appservice/scheduler.py +++ b/synapse/appservice/scheduler.py @@ -58,7 +58,7 @@ List, Optional, Set, - Tuple + Tuple, ) from synapse.appservice import ( @@ -160,7 +160,9 @@ class _ServiceQueuer: appservice at a given time. """ - def __init__(self, txn_ctrl: "_TransactionController", clock: Clock, hs: "HomeServer"): + def __init__( + self, txn_ctrl: "_TransactionController", clock: Clock, hs: "HomeServer" + ): # dict of {service_id: [events]} self.queued_events: Dict[str, List[EventBase]] = {} # dict of {service_id: [events]} diff --git a/synapse/storage/databases/main/end_to_end_keys.py b/synapse/storage/databases/main/end_to_end_keys.py index a71c10f8c8b8..c70f390826e6 100644 --- a/synapse/storage/databases/main/end_to_end_keys.py +++ b/synapse/storage/databases/main/end_to_end_keys.py @@ -14,7 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. import abc -from typing import (TYPE_CHECKING, Collection, +from typing import ( + TYPE_CHECKING, + Collection, Dict, Iterable, List,