Skip to content

Commit ce917d4

Browse files
committed
Enable get-attr-with-constant (B009)
1 parent c5d9e8c commit ce917d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/io/formats/style.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,9 +2230,7 @@ def map(self, func: Callable, subset: Subset | None = None, **kwargs) -> Styler:
22302230
See `Table Visualization <../../user_guide/style.ipynb>`_ user guide for
22312231
more details.
22322232
"""
2233-
self._todo.append(
2234-
(lambda instance: instance._map, (func, subset), kwargs)
2235-
)
2233+
self._todo.append((lambda instance: instance._map, (func, subset), kwargs))
22362234
return self
22372235

22382236
def set_table_attributes(self, attributes: str) -> Styler:

0 commit comments

Comments
 (0)