You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: cannot format /Users/yileiyang/Downloads/t.py: Unable to match a closing bracket to the following opening bracket:
Oh no! 💥 💔 💥
1 file would fail to reformat.
Expected behavior
This is not a valid use of # fmt: off, but Black shouldn't crash either.
Environment
Black's version: this crash existed since v22.1.0 in the stable style
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
For example, take this code:
And run it with these arguments:
The resulting error is:
Expected behavior
This is not a valid use of
# fmt: off
, but Black shouldn't crash either.Environment
Additional context
The text was updated successfully, but these errors were encountered: