---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ruff

> An extremely fast Python linter and code formatter, written in Rust.
> See also: `black`.
> More information: <https://docs.astral.sh/ruff/tutorial/>.

- View documentation for the Ruff linter:

`tldr ruff check`

- View documentation for the Ruff code formatter:

`tldr ruff format`
