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

Arbitrary line shortening for E501? #651

Open
amosnier opened this issue Oct 8, 2022 · 0 comments
Open

Arbitrary line shortening for E501? #651

amosnier opened this issue Oct 8, 2022 · 0 comments

Comments

@amosnier
Copy link

amosnier commented Oct 8, 2022

Description

It seems that autopep8 (which is great, by the way) 1.6.0, when in vanilla-mode, shortens

        src, obj, cmd = calc_object_cmd(src=src, src_dir=src_dir, build_dir=build_dir, compiler=compiler, defines=defines, std=std, includes=includes)

to

        src, obj, cmd = calc_object_cmd(src=src, src_dir=src_dir, build_dir=build_dir,
                                        compiler=compiler, defines=defines, std=std, includes=includes)

but not any further. That's a 103-long.

I can of course configure flake8 to accept that, but the shortening seems kind of arbitrary. Why not even shorter, if my configuration says so (i.e. 79-long in vanilla-mode)? Or am I missing something?

Related to #598, I guess.


Environment

  • autopep8 version: 1.6.0
  • Platform: Linux
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