Skip to content

Commit b49b760

Browse files
committed
fix format with black/ruff update
1 parent 6fad7fa commit b49b760

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

pymysqlreplication/binlogstream.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,9 @@ def fetchone(self):
688688
binlog_event.event_type == TABLE_MAP_EVENT
689689
and binlog_event.event is not None
690690
):
691-
self.table_map[
692-
binlog_event.event.table_id
693-
] = binlog_event.event.get_table()
691+
self.table_map[binlog_event.event.table_id] = (
692+
binlog_event.event.get_table()
693+
)
694694

695695
# event is none if we have filter it on packet level
696696
# we filter also not allowed events

pymysqlreplication/tests/binlogfilereader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Read binlog files"""
2+
23
import struct
34

45
from pymysqlreplication import constants

pymysqlreplication/tests/test_abnormal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Test abnormal conditions, such as caused by a MySQL crash
22
"""
3+
34
import os.path
45

56
from pymysqlreplication.tests import base

0 commit comments

Comments
 (0)