Skip to content

Glossary: Refactoring and Clean Code

ruff

Also written: ruff check, ruff format, --fix, --select

A fast Python tool that finds likely mistakes (`ruff check`) and tidies layout (`ruff format`). `--select` picks rule groups and `--fix` applies safe fixes.

Where the book teaches it

Related terms

C901unsafe fix