mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
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