-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
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?