Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Convert all string concatenations and brace-formatting to f-string formatting #8332

@ShadowJonathan

Description

@ShadowJonathan

Description:

If/when synapse drops support for 3.5, convert all brace-formatting ("{}".format(obj), percent-formatting ("%s" % obj) and string concatenations ("object:" + obj") with f-strings (f"{obj}")

This approach is cleaner and less bug-prone as variable reference and exacting string template is combined into one.

(When synapse drops support for 3.5, i'd be happy to take up the task of converting everything)

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-p5(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions