summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorQuentin Gliech <quenting@element.io>2024-08-30 10:07:46 +0200
committerGitHub <noreply@github.com>2024-08-30 10:07:46 +0200
commitcdd5979129211a6906ca12c4f6f6ac7a108c2fb7 (patch)
treeca4989fa07d112a120d1c1a20c97674a070a8901 /synapse/storage/_base.py
parentSliding sync: Ignore tables with no create event in current state (#17633) (diff)
downloadsynapse-cdd5979129211a6906ca12c4f6f6ac7a108c2fb7.tar.xz
Replace isort and black with ruff (#17620)
Ruff now has decent parity with black and isort, so this is going to just save us a bunch of time
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py

index e12ab94576..1ac85ad66d 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py
@@ -23,8 +23,11 @@ import logging from abc import ABCMeta from typing import TYPE_CHECKING, Any, Collection, Dict, Iterable, Optional, Union -from synapse.storage.database import make_in_list_sql_clause # noqa: F401; noqa: F401 -from synapse.storage.database import DatabasePool, LoggingDatabaseConnection +from synapse.storage.database import ( + DatabasePool, + LoggingDatabaseConnection, + make_in_list_sql_clause, # noqa: F401 +) from synapse.types import get_domain_from_id from synapse.util import json_decoder from synapse.util.caches.descriptors import CachedFunction