Skip to content

Only put spaces around ranges when start and end is specified #3832

Open
@Boscop

Description

@Boscop

The spaces_around_ranges option currently only accepts a bool: All ranges will be either surrounded with spaces or not. I'd prefer to have a setting that lets me express "put spaces only around ranges that have start and end specified", such as a .. b but not foo[start..] or bar[..end].

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions