mirror of https://github.com/astral-sh/ruff
## Summary This PR refactors the formatter diff code to reuse the `SourceKind::diff` logic. This has the benefit that the Notebook diff now includes the cell numbers which was not present before. ## Test Plan Update the snapshots and verified the cell numbers. |
||
|---|---|---|
| .. | ||
| snapshots | ||
| format.rs | ||
| integration_test.rs | ||
| lint.rs | ||