--- id: ruff version: "0.16.3" license: MIT license_treatment: permissive maintenance: active --- # ruff — An extremely fast Python linter and code formatter, written in Rust. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install ruff uv add ruff poetry add ruff ## Description # Ruff [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![image](https://img.shields.io/pypi/v/ruff.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/l/ruff.svg)](https://github.com/astral-sh/ruff/blob/main/LICENSE) [![image](https://img.shields.io/pypi/pyversions/ruff.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff/workflows/CI/badge.svg)](https://github.com/astral-sh/ruff/actions) [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?logo=discord&logoColor=white)](https://discord.com/invite/astral-sh) [**Docs**](https://docs.astral.sh/ruff/) | [**Playground**](https://play.ruff.rs/) An extremely fast Python linter and code formatter, written in Rust.

Shows a bar chart with benchmark results.

Linting the CPython codebase from scratch.

- ⚡️ 10-100x faster than existing... ## AI interpretation — verify before relying Ruff is an extremely fast Python linter and code formatter written in Rust, combining the functionality of Flake8, Black, isort, and other tools into a single unified interface. Verdict: Ruff is a production-ready, actively maintained linter and formatter with zero dependencies, broad platform support, and MIT licensing. Its adoption by major open-source projects and active development make it a low-friction replacement for multiple legacy tools. [View on SkillFed](https://skillfed.io/packages/ruff) · [View on PyPI](https://pypi.org/project/ruff/)