HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ruff — An extremely fast Python linter and code formatter, written in Rust. See also: `black`. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpythonandclifastextremelyrufflinter

Problem

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

Solution

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

Code Snippets

View documentation for the Ruff linter

tldr ruff check

View documentation for the Ruff code formatter

tldr ruff format

Context

tldr-pages: common/ruff

Revisions (0)

No revisions yet.