ruff/crates/red_knot_ide
Andrew Gallant 405878a128 ruff_db: render file paths in diagnostics as relative paths if possible
This is done in what appears to be the same way as Ruff: we get the CWD,
strip the prefix from the path if possible, and use that. If stripping
the prefix fails, then we print the full path as-is.

Fixes #17233
2025-04-28 14:32:34 -04:00
..
src ruff_db: render file paths in diagnostics as relative paths if possible 2025-04-28 14:32:34 -04:00
Cargo.toml [red-knot] Add Type.definition method (#17153) 2025-04-04 10:56:20 +02:00