Skip to content

Ignore rules for formatter #18501

Closed as not planned
Closed as not planned
@dornech

Description

@dornech

Summary

Following the discussion #18486 here I would like to suggest to have a formatter config setting allowing to ignore formatting rules.

As mentioned in the linked discussion already I am sometimes not too happy with the PEP 8 rules for empty lines because I find the rules too strict to organize code. Especially the pcodestyle rule for empty lines and here E303 are sometimes not really helpful to override them with this # fmt on/off stuff.

I wonder if somebody else has same feeling :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationRelated to settings and configurationformatterRelated to the formatterneeds-infoMore information is needed from the issue author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions