Skip to content

Commit

Permalink
fix format with black/ruff update
Browse files Browse the repository at this point in the history
  • Loading branch information
bentsku committed Feb 9, 2024
1 parent 6fad7fa commit b49b760
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pymysqlreplication/binlogstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,9 @@ def fetchone(self):
binlog_event.event_type == TABLE_MAP_EVENT
and binlog_event.event is not None
):
self.table_map[
binlog_event.event.table_id
] = binlog_event.event.get_table()
self.table_map[binlog_event.event.table_id] = (
binlog_event.event.get_table()
)

# event is none if we have filter it on packet level
# we filter also not allowed events
Expand Down
1 change: 1 addition & 0 deletions pymysqlreplication/tests/binlogfilereader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Read binlog files"""

import struct

from pymysqlreplication import constants
Expand Down
1 change: 1 addition & 0 deletions pymysqlreplication/tests/test_abnormal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Test abnormal conditions, such as caused by a MySQL crash
"""

import os.path

from pymysqlreplication.tests import base
Expand Down

0 comments on commit b49b760

Please sign in to comment.