ruff_linter,ruff_python_parser: migrate to updated annotate-snippets

This is pretty much just moving to the new API and taking care to use
byte offsets. This is *almost* enough. The next commit will fix a bug
involving the handling of unprintable characters as a result of
switching to byte offsets.
This commit is contained in:
Andrew Gallant 2024-12-20 14:19:32 -05:00 committed by Andrew Gallant
parent 1b97677779
commit 84179aaa96
6 changed files with 43 additions and 99 deletions

View file

@ -28,9 +28,9 @@ unicode_names2 = { workspace = true }
unicode-normalization = { workspace = true }
[dev-dependencies]
ruff_annotate_snippets = { workspace = true }
ruff_source_file = { workspace = true }
annotate-snippets = { workspace = true }
anyhow = { workspace = true }
insta = { workspace = true, features = ["glob"] }
walkdir = { workspace = true }