What does it do?
unref finds unreferenced parts of Python code. The repository describes it as a fast Python dead-code finder written in Rust. Developers can use it to inspect a codebase or add it as a pre-commit or prek hook alongside Ruff. The provided page does not describe how findings are displayed or whether fixes are applied automatically.
Key features
- Find unreferenced Python code
- Use as a pre-commit or prek hook