### Summary cf https://github.com/astral-sh/ruff/pull/17658#pullrequestreview-2810350730 and https://github.com/astral-sh/ruff/pull/17658#issuecomment-2845922256