Skip to content

Trailing commas #24

Open
Open
@johanneskoester

Description

@johanneskoester

Black on Python adds a trailing comma to multiline argument lists. While this is good practice for programming, the situation is different for workflow definitions. Here, maximum readability is more important than a (arguably only a little) cleaner git history. Hence, snakefmt should ideally not enforce and even remove trailing commas in all cases. Can black be configured like that? If so, this should be default for snakefmt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions