ruff/crates/ruff_dev/src
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
..
format_dev.rs Add row and column numbers to formatted parse errors (#9321) 2023-12-31 07:10:45 -05:00
generate_all.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
generate_cli_help.rs Rework the documentation to incorporate the Ruff formatter (#7732) 2023-10-20 23:08:26 +00:00
generate_docs.rs Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
generate_json_schema.rs Move Configuration to ruff_workspace crate (#6920) 2023-08-28 06:21:35 +00:00
generate_options.rs Remove repeated and erroneous scoped settings headers in docs (#8670) 2023-11-14 05:44:30 +00:00
generate_rules_table.rs Escape trailing placeholders in rule documentation (#9301) 2023-12-28 09:44:51 -05:00
main.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
print_ast.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
print_cst.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
print_tokens.rs Update ruff-dev to use SourceKind (#8878) 2023-11-28 14:27:35 -06:00
round_trip.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00