mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:21 +00:00
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:
parent
1b97677779
commit
84179aaa96
6 changed files with 43 additions and 99 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue