ruff/crates/ruff_cli
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/fixtures Formatter parentheses support for IpyEscapeCommand (#8207) 2023-10-25 14:01:50 +00:00
src Use SourceKind::diff for formatter (#8240) 2023-10-26 11:08:13 +05:30
tests Use SourceKind::diff for formatter (#8240) 2023-10-26 11:08:13 +05:30
build.rs Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00
Cargo.toml Release 0.1.2 (#8168) 2023-10-24 15:21:29 +00:00