The --unfixable argument to Ruff lets Ruff flag warnings/errors about an issue but not fix it: https://docs.astral.sh/ruff/settings/#lint_unfixable
I typically use this with --unfixable F401,F841 so Ruff warns about unused imports but doesn't delete them while I'm editing.