ruff/crates/ruff_cli
Charlie Marsh 48e04cc2c8
Add row and column numbers to formatted parse errors (#9321)
## 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.
2023-12-31 07:10:45 -05:00
..
resources/test/fixtures Update `ruff check` and `ruff format` to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
src Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
tests Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
Cargo.toml Bump cachedir from 0.3.0 to 0.3.1 (#9254) 2023-12-23 07:35:11 -05:00
build.rs Add `ruff version` with long version display (#8034) 2023-10-20 14:07:41 -05:00