Skip to content

Formatting error on PR #1687

@yijiezh

Description

@yijiezh

Describe the bug
I was trying to send out a PR for a fix.
#1618
The PR keep failing with formatting error introduced by black and flake8.

black will always format the line into

            return [
                {"Name": er_mean, "Regex": "{}: {}".format(er_mean, float_regex),},
                {"Name": er_max, "Regex": "{}: {}".format(er_max, float_regex),},
            ]

While flake8 will always complain about ',' should be followed by a space.

I tried different approaches but black will always formatting it back to the format above.

Any suggestion?

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