Skip to content

Commit 877b5ff

Browse files
committed
linting
1 parent aeb98ff commit 877b5ff

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/cytodataframe/frame.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,7 @@ def _return_cytodataframe(
460460
# If the method name is transpose we know that
461461
# the dataframe has been transposed.
462462
if method_name == "transpose":
463-
cdf._custom_attrs["is_transposed"] = not self._custom_attrs[
464-
"is_transposed"
465-
]
463+
cdf._custom_attrs["is_transposed"] = not self._custom_attrs["is_transposed"]
466464

467465
return cdf
468466

tests/test_frame.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,9 +831,7 @@ def test_iloc_slice_preserves_cytodataframe_html_formatting():
831831
bracket_sliced._custom_attrs["_widget_state"]
832832
is cdf._custom_attrs["_widget_state"]
833833
)
834-
assert (
835-
bracket_empty_sliced._custom_attrs["_output"] is cdf._custom_attrs["_output"]
836-
)
834+
assert bracket_empty_sliced._custom_attrs["_output"] is cdf._custom_attrs["_output"]
837835
assert (
838836
bracket_empty_sliced._custom_attrs["_widget_state"]
839837
is cdf._custom_attrs["_widget_state"]

0 commit comments

Comments
 (0)