Update Black to 2024 style and Python 3.10 target

This commit is contained in:
Tulir Asokan
2024-01-08 17:34:35 +02:00
parent 19a4b4374d
commit 77cbbebfb2
8 changed files with 27 additions and 21 deletions
+3 -3
View File
@@ -208,9 +208,9 @@ class PgSession(MemorySession):
await self._locked_process_entities(tlo)
async def _locked_process_entities(self, tlo) -> None:
rows: list[
tuple[str, int, int, str | None, str | None, str | None]
] = self._entities_to_rows(tlo)
rows: list[tuple[str, int, int, str | None, str | None, str | None]] = (
self._entities_to_rows(tlo)
)
if not rows:
return
if self.db.scheme == Scheme.POSTGRES: