Ruff
Ruff spots common Python mistakes and keeps code formatting consistent.
astral-sh · Code and testing
GitHub projectOpen source Open on GitHub
How to try it
Find the unused import in a sample Python script that prints a grocery list, then show the formatted version.
What we tested
0.17.6. Passed a clean Python file and flagged an unused import and an undefined name in a sample with deliberate errors.