mirror of https://github.com/astral-sh/ruff
## Summary
This PR remaps ranges in Jupyter notebooks from simple `row:column`
indices in the concatenated source code to `cell:row:col` to match
Ruff's output. This is probably not a likely change to land upstream in
`annotate-snippets`, but I didn't see a good way around it.
The remapping logic is taken nearly verbatim from here:
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||