ruff/crates
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
..
flake8_to_ruff Bump pep440_rs from 0.3.12 to 0.4.0 (#9272) 2023-12-25 08:12:20 -05:00
ruff_benchmark Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_cache Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_cli Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
ruff_dev Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
ruff_diagnostics Enable annotation quoting for multi-line expressions (#9142) 2023-12-15 01:03:09 +00:00
ruff_formatter remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_index Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_linter Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
ruff_macros remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_notebook Prevent invalid utf8 indexing in cell magic detection (#9146) 2023-12-15 08:15:46 -06:00
ruff_python_ast Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_python_codegen Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_python_formatter Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
ruff_python_index Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_literal remove several uses of unsafe (#8600) 2023-11-28 09:50:03 -05:00
ruff_python_parser Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
ruff_python_resolver Bump env_logger from 0.10.0 to 0.10.1 (#9275) 2023-12-25 09:03:35 -05:00
ruff_python_semantic Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_python_stdlib Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_trivia Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_shrinking Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_source_file Use consistent re-export from ruff_source_file (#9320) 2023-12-30 14:48:45 -05:00
ruff_text_size Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_wasm Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_workspace Respect runtime-required decorators on functions (#9317) 2023-12-29 22:14:53 -04:00