ruff/crates/ruff_python_index
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
..
src Use source type to determine parser mode for formatting (#8205) 2023-10-25 19:20:02 +05:30
Cargo.toml Remove some extraneous newlines in Cargo.toml (#6577) 2023-08-14 23:39:41 +00:00