littrs-ruff-python-parser 0.6.2

Vendored ruff_python_parser for littrs (from github.com/astral-sh/ruff)
Documentation
1
2
3
4
5
6
7
8
9
10
# It doesn't matter what's inside the parentheses, these tests need to make sure
# all binary expressions parses correctly.
with (a) and b: ...
with (a) is not b: ...
# Make sure precedence works
with (a) or b and c: ...
with (a) and b or c: ...
with (a | b) << c | d: ...
# Postfix should still be parsed first
with (a)[0] + b * c: ...