← Discover
GitHub · astral-sh/ruff↑ +169 today

An extremely fast Python linter and code formatter

Ruff is an extremely fast Python linter and code formatter written in the Rust programming language. It is used to improve code quality and speed up formatting processes in software development workflows.

Updates

  • November 7, 2026: Stars 50,736 → 50,736, latest release 0.17.4 (November 5, 2026).

What you get

  • Operates tens of times faster compared to existing tools
  • Combines linting and formatting into a single tool
  • Offers automatic fix support for Python projects

Installation

install with pip
pip install ruff
installation with uv
uv tool install ruff@latest

Running it

running code linting
ruff check
running code formatting
ruff format

If you don't write code

Paste this into your AI agent (Claude Code · Codex · Antigravity)

I want to install the Ruff tool. To improve code quality and speed up formatting, I can use the pip install ruff or uv tool install ruff@latest command. After installation, I can check and format my project using the ruff check and ruff format commands.

Repository: https://github.com/astral-sh/ruff. Follow the official instructions in the README of this repository for setup and execution.

Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.

Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.

Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.

Related dictionary terms

Who it is forIt is intended for developers who want to rapidly increase code quality in Python projects and manage formatting processes from a single source.
LicenseMIT

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-11-07: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.