Skip to content

Commit 3713955

Browse files
committed
Linting
Signed-off-by: Ian Thomas <[email protected]>
1 parent ca9fa06 commit 3713955

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ipydatagrid/datagrid.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ def tick(self):
10411041
"""Notify that the underlying dataframe has changed."""
10421042
self.send({"event_type": "tick"})
10431043

1044-
def _handle_comm_msg(self, _, content, buffs):
1044+
def _handle_comm_msg(self, _, content, _buffs):
10451045
event_type = content.get("type", "")
10461046

10471047
if event_type == "data-request":
@@ -1062,7 +1062,10 @@ def _handle_comm_msg(self, _, content, buffs):
10621062
# Extract all buffers
10631063
buffers = []
10641064
for column in serialized["data"].keys():
1065-
if not isinstance(serialized["data"][column], list) and not serialized["data"][column]["type"] == "raw":
1065+
if (
1066+
not isinstance(serialized["data"][column], list)
1067+
and not serialized["data"][column]["type"] == "raw"
1068+
):
10661069
buffers.append(serialized["data"][column]["value"])
10671070
serialized["data"][column]["value"] = len(buffers) - 1
10681071

0 commit comments

Comments
 (0)