Black fails to parse match-case statement in black/scripts/generate_schema.py
#4233
Labels
T: bug
Something isn't working
black/scripts/generate_schema.py
#4233
Describe the bug
I found this bug while trying to run black on it's own source code.
The file
generate_schema.py
in the scripts folder failed to get parsed properly.To Reproduce
This is the function that causes the issue,
it is found in black's source code under scripts/generate_schema.py, you can run black on that file:
The resulting error is:
Expected behavior
black parses the file correctly and potentially formats the code.
Environment
The text was updated successfully, but these errors were encountered: