Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
Feature or enhancement
While reading new ruff release notes:https://astral.sh/blog/ruff-v0.4.0 I found that it has a new nice parser feature that we can addopt. Before:
>>>fromximportFile"<stdin>",line1fromximport^SyntaxError:invalidsyntax>>>from .importFile"<stdin>",line1from .import^SyntaxError:invalidsyntax
>>>fromximportFile"<stdin>",line1fromximport^SyntaxError:Expectedoneormorenamesafter'import'>>>from .importFile"<stdin>",line1from .import^SyntaxError:Expectedoneormorenamesafter'import'>>>
I have a PR ready :)