Skip to content

Have an opinion about spaces around f-string arguments #3090

@dimaqq

Description

@dimaqq

Today black allows both of these:

a = f"{None}"
b = f"{ None }"
> black test.py
All done! ✨ 🍰 ✨
1 file left unchanged.

Perhaps an opinionated tool should have an opinion here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions