mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
Summary -- This PR stabilizes the Markdown formatting initially added in #22470. It also reverts much of the error plumbing in the LSP that was added in #24150. I considered keeping the `FormatResult::PreviewOnly` variant but went ahead and dropped it since it was unused. Closes #26866. Test Plan -- Updated existing snapshots, dropping `--preview` in some cases