Closed Iamcerba closed 4 months ago
I suspect one of your invocations is picking up a configuration file that sets some option. This looks like the hug_parens_with_braces_and_square_brackets
unstable feature.
I suspect one of your invocations is picking up a configuration file that sets some option. This looks like the
hug_parens_with_braces_and_square_brackets
unstable feature.
Thanks a lot, it was helpful. I actually forgot to delete the test config file on local machine with unstable features enabled.
Describe the bug
Black produces different results in different environments for code containing curly braces when used with the same version and options
To Reproduce
[Linux/Python 3.9.17] or [Windows/Python 3.9.6]
[Linux/Python 3.9.19]
Playground:
Main:
Stable:
Expected behavior
Code containing curly braces remains unchanged when formatted with the same version and options on different environments.
Environment