Skip to content

[Feature Inquiry] Support for fixing E501 on single long string literals #788

Description

@WenhaoYou1

Thanks for making autopep8 (good work!). It appears that when a line consists solely of a long string literal, autopep8 does not fix E501 (line too long), even with --aggressive. Would it be possible to add an opt-in feature to automatically split such over-long string literals into multiple adjacent strings so they can satisfy the configured line length limit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions