Skip to content

BUG? black splits comment after trailing comma, nbqa doesn't preserve trailing comma #282

@MarcoGorelli

Description

@MarcoGorelli

Not sure whether to consider this a bug or whether to list it as a known limitation

plt.plot();  # some comment

nbqa black would transform this as

plt.plot()
# some comment

@girip11 thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions