-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Labels
help wantedContributions especially welcomeContributions especially welcomeinternalAn internal refactor or improvementAn internal refactor or improvement
Description
Description
There are now 3 OperatorPrecedence structs in ruff
- Formatter (only the expression one, the pattern one is different)
- Linter
- Parser
- Move the Linter
OperatorPrecedencestruct into ruff-python-ast and expose aprecedence()method onExpr(and `ExpressionRef) and ideally on each Expression node. - Try to replace some of the other
OperatorPrecedencestructs with the one now defined in the AST crate
Ideally, these would be two separate PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedContributions especially welcomeContributions especially welcomeinternalAn internal refactor or improvementAn internal refactor or improvement