Black crashes when "fmt: off/on" is used with "with" expression #3236
Labels
F: fmtoff
fmt: off implementation
R: duplicate
This issue or pull request already exists
T: bug
Something isn't working
Describe the bug
Black crashes when "fmt: off/on" is used with "with" expression.
To Reproduce
For example, take this code:
And run it with these arguments:
or check in black console online HERE.
The resulting error is:
Expected behavior
Should not crash. I use "fmt: off" and "fmt: on" to prevent moving multiple "with" into one a single line.
Environment
MacOS
The text was updated successfully, but these errors were encountered: