ruff/crates/ruff_linter
Dhruv Manilawala a7d1f7e1ec
Use `SourceKind::diff` for formatter (#8240)
## 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.
2023-10-26 11:08:13 +05:30
..
resources/test [`pylint`] Add buffer methods to `bad-dunder-method-name` (`PLW3201`) exclusions (#8190) 2023-10-25 00:03:44 -05:00
src Use `SourceKind::diff` for formatter (#8240) 2023-10-26 11:08:13 +05:30
Cargo.toml Release 0.1.2 (#8168) 2023-10-24 15:21:29 +00:00