Python
Ruff Commands
Extremely fast Python linter and formatter written in Rust. Replaces Flake8, isort, and Black with 10-100x faster performance.
9 commands
Pro Tips
Use 'ruff check --fix' to automatically fix all safe issues.
Configure rules in pyproject.toml under [tool.ruff] section.
Use 'ruff check --watch' during development for instant feedback.
Common Mistakes
Use '--unsafe-fixes' carefully - these fixes may change code behavior.
Ruff format is opinionated like Black - configure minimal options only.