mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
![]() ## Summary We now render parse errors in the formatter identically to those in the linter, e.g.: ``` ❯ cargo run -p ruff_cli -- format foo.py error: Failed to parse foo.py:1:17: Unexpected token '=' ``` Closes https://github.com/astral-sh/ruff/issues/8338. Closes https://github.com/astral-sh/ruff/issues/9311. |
||
---|---|---|
.. | ||
lexer | ||
snapshots | ||
context.rs | ||
function.rs | ||
invalid.rs | ||
lexer.rs | ||
lib.rs | ||
parser.rs | ||
python.lalrpop | ||
python.rs | ||
soft_keywords.rs | ||
string.rs | ||
token.rs | ||
typing.rs |