Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Nov 13, 2023
1 parent e584de1 commit 976bd97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MySQLdb/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ class object, used to create cursors (keyword only)

super().__init__(*args, **kwargs2)
self.cursorclass = cursorclass
self.encoders = {k: v for k, v in conv.items() if type(k) is not int}
self.encoders = {
k: v for k, v in conv.items() if type(k) is not int # noqa: E721
}

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

0 comments on commit 976bd97

Please sign in to comment.