ruff/crates/ruff_cli/tests
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
..
snapshots Add cell field to JSON output format (#7664) 2023-10-13 01:06:02 +00:00
format.rs Use SourceKind::diff for formatter (#8240) 2023-10-26 11:08:13 +05:30
integration_test.rs Remove experimental formatter warning (#8148) 2023-10-24 01:26:29 +00:00
lint.rs New pycodestyle.max-line-length option (#8039) 2023-10-24 17:14:05 +09:00