mirror of
https://github.com/astral-sh/ruff
synced 2026-01-16 11:00:46 -05:00
... and switch to the new one. We do this switch by converting the old diagnostics to a `Diagnostic`, and then rendering that. This does not quite emit identical output. There are some changes. They *could* be fixed to remain the same, but the changes aren't obviously worse to me and I think the right way to *improve* them is to move Red Knot to the new `Diagnostic` API. The next commit will have the snapshot changes.