Skip to content

Commit d7b42e3

Browse files
committed
Fix remaining PEP8 issues
1 parent 0ab766d commit d7b42e3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/tests/groupby/test_custom_metadata.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
and as such would expect `__finalize__` to always be called so that the
66
`_pandastable_metadata` is always populated.
77
8-
[guidelines]: https://pandas.pydata.org/pandas-docs/stable/development/extending.html#override-constructor-properties
8+
[guidelines]: https://pandas.pydata.org/pandas-docs/stable/development/extending.html#override-constructor-properties # noqa
99
"""
1010

1111
import pytest
@@ -37,10 +37,9 @@ def _constructor(self):
3737

3838
def __finalize__(self, other, method=None, **kwargs):
3939
"""
40-
This method is responsible for populating metadata when creating new Table-object.
40+
This method be called after constructor to populate metadata
4141
42-
The method argument is subject to change, and a robust handling of this
43-
is implemented.
42+
The "method" argument is subject to change and must be handled robustly.
4443
"""
4544
src = [other] # more logic here in actual implementation
4645
metadata = _combine_metadata(

0 commit comments

Comments
 (0)