Official docs outline
12 sections- Tutorial
Using ruff check and ruff format in a project.
- The linter
The ruff check command, rule selection, auto-fixes and noqa suppression comments.
- Rules
The catalog of lint rules grouped by origin, with codes like E, F and I.
- The formatter
Black-compatible formatter and style options.
- Deviations from Black
Known places where the Ruff formatter output differs from Black.
- Configuration
pyproject.toml and ruff.toml, discovery, inheritance.
- Settings reference
All settings available in pyproject.toml and ruff.toml.
- Editor integration
The Ruff language server and setup in editors such as VS Code, Neovim and Zed.
- Integrations
Running Ruff in pre-commit, GitHub Actions and other CI systems.
- Preview mode
Preview mode for unstable rules and formatter style changes.
- Versioning
Release and versioning policy including how rules are stabilized.
- FAQ
Frequently asked questions about Ruff behavior, compatibility and replacing other tools.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.