ruff/crates/ruff_python_formatter/tests
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
..
snapshots Normalise Hex and unicode escape sequences in string (#9280) 2023-12-28 09:06:58 +08:00
fixtures.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
normalizer.rs ruff_python_formatter: support reformatting Markdown code blocks (#9030) 2023-12-07 14:30:43 -05:00