lark
lark copied to clipboard
A fix for black formatter breaking standalone parser generation.
Here lies a fix for Lark's standalone parser generation breaking when Lark is run through the black formatter. The fix simply entails stripping lines as they are iterated through in the extract_sections
function in standlone.py.