ruff/crates/ruff_python_index/src
Dhruv Manilawala c2ec5f0bc9
Use source type to determine parser mode for formatting (#8205)
## Summary

This PR fixes the bug where if a Notebook contained IPython syntax, then
the format command would fail. This was because the correct mode was not
being used while parsing through the formatter code path.

## Test Plan

This PR isn't the only requirement for Notebook formatting to start
working with IPython escape commands. The following PR in the stack is
required as well.
2023-10-25 19:20:02 +05:30
..
comment_ranges.rs Use source type to determine parser mode for formatting (#8205) 2023-10-25 19:20:02 +05:30
fstring_ranges.rs Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00:00
indexer.rs Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00:00
lib.rs Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00:00