use ruff for formatter (#691)

This commit is contained in:
Inada Naoki
2024-02-04 12:31:52 +09:00
committed by GitHub
parent 720b80497f
commit 2570ad48b8
3 changed files with 6 additions and 40 deletions

View File

@ -193,7 +193,9 @@ class Connection(_mysql.connection):
super().__init__(*args, **kwargs2)
self.cursorclass = cursorclass
self.encoders = {
k: v for k, v in conv.items() if type(k) is not int # noqa: E721
k: v
for k, v in conv.items()
if type(k) is not int # noqa: E721
}
self._server_version = tuple(