Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type annotated return types in overlength lines ignored #633

Open
buhtz opened this issue May 8, 2022 · 0 comments
Open

type annotated return types in overlength lines ignored #633

buhtz opened this issue May 8, 2022 · 0 comments

Comments

@buhtz
Copy link

buhtz commented May 8, 2022

This piece of code is from a real project. The last line has overlength which is correct mentioned by pycodestyle but ignored and not corrected by autopep8.

Python Code

def cut_by_row_keep_group(data: pandas.DataFrame,
                          group_column,
                          n_pieces: int,
                          sort_kind: str = 'quicksort') -> list[pandas.DataFrame]:
                                                                               ^^^

Using Python 3.9.2 from Debian 11 repository. Using autopep8 1.5.5 (pycodestyle: 2.6.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant