Skip to content

Commit 976bd97

Browse files
committed
fix lint error
1 parent e584de1 commit 976bd97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/MySQLdb/connections.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ class object, used to create cursors (keyword only)
192192

193193
super().__init__(*args, **kwargs2)
194194
self.cursorclass = cursorclass
195-
self.encoders = {k: v for k, v in conv.items() if type(k) is not int}
195+
self.encoders = {
196+
k: v for k, v in conv.items() if type(k) is not int # noqa: E721
197+
}
196198

197199
self._server_version = tuple(
198200
[numeric_part(n) for n in self.get_server_info().split(".")[:2]]

0 commit comments

Comments
 (0)