312  ruff(1) - Kailash Tool Reference

312.1 ruff

ruff - Ruff — fast Python linter and formatter.

Layer OPS
Category o-05-ai-engineering-sdks-dev-env
Safety class safe
Licence MIT
Upstream github.com/astral-sh/ruff

312.1.1 NAME

ruff - Ruff — fast Python linter and formatter.

312.1.2 SYNOPSIS & usage

Derived from the upstream README at generation time; verify against --help where the tool is installed.

uvx ruff@0.17.0 check   # Lint all files in the current directory.
uvx ruff@0.17.0 format  # Format all files in the current directory.
# With uv.
uv tool install ruff@latest  # Install Ruff globally.
uv add --dev ruff            # Or add Ruff to your project.

# With pip.
pip install ruff

# With pipx.
pipx install ruff

312.1.3 DESCRIPTION (upstream)

An extremely fast Python linter and code formatter, written in Rust. - ⚡️ 10-100x faster than existing linters (like Flake8) and formatters (like Black) - 🐍 Installable via pip - 🛠️ pyproject.toml support - 🤝 Python 3.15 compatibility - ⚖️ Drop-in parity with Flake8, isort, and Black - 📦 Built-in caching, to avoid re-analyzing unchanged files - 🔧 Fix support, for automatic error correction (e.g., automatically remove unused imports) - 📏 Over [900 built-in

312.1.4 CONFIGURATION (detected)

Config-surface markers detected in the upstream README (2 matches, e.g. --config, --config). A full config reference page for this tool is queued under the config-page policy — this line is the detection record, not the page.

312.1.5 SEE ALSO


ref: pin - verified 2026-10-14