ruff/crates
Charlie Marsh e80260a3c5
Remove source path from parser errors (#9322)
## Summary

I always found it odd that we had to pass this in, since it's really
higher-level context for the error. The awkwardness is further evidenced
by the fact that we pass in fake values everywhere (even outside of
tests). The source path isn't actually used to display the error; it's
only accessed elsewhere to _re-display_ the error in certain cases. This
PR modifies to instead pass the path directly in those cases.
2023-12-30 20:33:05 +00: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 Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
ruff_dev Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00: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 Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00: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 Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00: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 Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00: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