Mindket

ruff

Newversion 1 · updated
Star51k

Overview

Checks Python code for mistakes and style problems and reformats it, written in Rust for speed. For Python developers who want a linter and a formatter in one tool.

ruff is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Start with
git clone https://github.com/astral-sh/ruff.git
cd ruff

About

What it is

Ruff is a linter and code formatter for Python, written in Rust. A linter checks code for mistakes and style problems, and a formatter tidies its layout. The project describes it as extremely fast.

Who it suits

Ruff suits Python developers who want one tool to check and tidy their code, and teams that care about a shared style.

IndustryWho uses itHow they use itExample
Software developmentPython developersCheck code for mistakes and style problemsScanning a project's files before a code review
Data scienceAnalysts who write PythonKeep the layout of scripts tidyCleaning up an analysis script before sharing it
EducationPython teachersPoint out where code departs from the PEP 8 style guideShowing a student which lines break the style guide
Open sourceMaintainersKeep contributions in one styleApplying the same formatting to every contributed file

Developers who write no Python can skip it.

How to set it up

The notes show one way to get the project, which is to copy its code with git.

  1. Copy the code with git from the project's GitHub page.
  2. Follow the setup in its README.

Run these in a terminal:

# Copy the project to your computer
git clone https://github.com/astral-sh/ruff.git
# Go into its folder
cd ruff

For newcomers and experts

A linter reads your Python code and points out likely mistakes and style problems, and a formatter rewrites the layout for you. A first small thing to try is checking one script you already have.

Ruff is written in Rust, and the project leads with speed in its one line description. Its topics point to static analysis and to style guides such as PEP 8, so its checks sit in the same area as other Python linters.

Good to know

This kit holds notes and a pointer to the code, so nothing runs by itself. The README text here is short, so check the repository for rules and options.

  • License: MIT
  • Cost to run: none named
  • Data it reaches: none named
  • Not for: code in languages other than Python, since the notes describe a Python tool

README and files

README

ruff

Checks Python code for mistakes and style problems and reformats it, written in Rust for speed. For Python developers who want a linter and a formatter in one tool.

Made by astral-sh on GitHub. These notes are Mindket's, written from its README; the project's own files and license are in its repository.

About

What it is: Ruff is a linter and code formatter for Python, written in Rust. A linter checks code for mistakes and style problems, and a formatter tidies its layout. The project describes it as extremely fast.

Who it suits: Ruff suits Python developers who want one tool to check and tidy their code, and teams that care about a shared style.

Industry | Who uses it | How they use it | Example
Software development | Python developers | Check code for mistakes and style problems | Scanning a project's files before a code review
Data science | Analysts who write Python | Keep the layout of scripts tidy | Cleaning up an analysis script before sharing it
Education | Python teachers | Point out where code departs from the PEP 8 style guide | Showing a student which lines break the style guide
Open source | Maintainers | Keep contributions in one style | Applying the same formatting to every contributed file

Developers who write no Python can skip it.

How to set it up: The notes show one way to get the project, which is to copy its code with git.

  1. Copy the code with git from the project's GitHub page.
  2. Follow the setup in its README.

For newcomers and experts: A linter reads your Python code and points out likely mistakes and style problems, and a formatter rewrites the layout for you. A first small thing to try is checking one script you already have.

Ruff is written in Rust, and the project leads with speed in its one line description. Its topics point to static analysis and to style guides such as PEP 8, so its checks sit in the same area as other Python linters.

Good to know: This kit holds notes and a pointer to the code, so nothing runs by itself. The README text here is short, so check the repository for rules and options.

  • License: MIT
  • Cost to run: none named
  • Data it reaches: none named
  • Not for: code in languages other than Python, since the notes describe a Python tool

On GitHub, 7 November 2026

  • Stars: 50,705 (169 that day)
  • Forks: 2,613
  • Watching: 156
  • Open issues and pull requests: 2,255
  • Language: Rust
  • License: MIT
  • Topics: linter, pep8, python, python3, ruff, rust, rustpython, static-analysis, static-code-analysis, style-guide, styleguide
  • Trending: #17 repository of the day on GitHub trending (7 November 2026)

Links

Get the code

git clone https://github.com/astral-sh/ruff.git

Then follow the setup in its README. Nothing in this kit runs by itself.

Files
README.md  3 KB

1 file, 3 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-07

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

nikolattType Server ProtocolDetachHead (maintainer of basedpyright) has criticized the TSP before: - https://docs.basedpyright.com/v1.40.2/type-server/ - https://github.com/microsoft/pylance-release/discussions/718... Ty (the type checker maintained by astral) however will apparently support the TSP:…GitHub Trending8. https://github.com/sherlock-project/sherlock - Python, 1819 stars today 9. https://github.com/milind-soni/OpenMausBot - TypeScript, 1986 stars today 10. https://github.com/astral-sh/ruff - Rust, 350 stars today 11. https://github.com/tailwindlabs/tailwindcss - TypeScript, 181 stars today 12 […]1 likeFajar_RahmadShow HN: Scrut – A Python static code reviewer that focuses on changed Git filesI believe we can do the same with pre-commit linter such as ruff pre-commit or pylint pre-commit? https://github.com/astral-sh/ruff-pre-commit https://pylint.pycqa.org/en/stable/user_guide/installation/p...GitHub Trending🔥 Hot Repo! 🔥 (100+ new stars) 📦 astral-sh / ruff ⭐ 50,486 (+107) 🗒 Rust An extremely fast Python linter and code formatter, written in Rust.1 likegcarvalhoRuff v0.16.0 – Significant new updates – 413 default rules up from 59> with every version introducing a bunch of new default rules which you then have to deal with immediately According to the original post > Ruff's default rule set was last modified in v0.1.0 Which was over 2 years ago. https://github.com/astral-sh/ruff/releases/tag/v0.1.0GitHub Trending Rust🔥 Hot Repo! 🔥 (100+ new stars) 📦 astral-sh / ruff ⭐ 50,486 (+107) 🗒 Rust An extremely fast Python linter and code formatter, written in Rust.1 likewesturnerRuff v0.16.0 – Significant new updates – 413 default rules up from 59TIL RustPython uses Ruff's AST which is fast. LibCST can modify the AST/CST to do python codemod, now in Rust too; rustpython-ruff_python_parser: https://crates.io/crates/rustpython-ruff_python_parser .. https://github.com/astral-sh/ruff LibCST: https://github.com/Instagram/LibCSTRustTrendingastral-sh / ruff: An extremely fast Python linter and code formatter, written in Rust. ★49734 https://github.com/astral-sh/ruff1 likeetawebTypeScript 7Note that Python supports type annotations in its syntax, but the interpreter will just ignore them as they are meant to be used by external tools such as ruff: https://github.com/astral-sh/ruff I've had a good experience developing small to medium sized Python programs/scripts using type…SnoodJ 🦃TIL Ruff's undefined-name rule complains when using a forward reference in a type annotation if the name in the reference is not defined… …which is the entire point of a forward reference??? https://github.com/astral-sh/ruff/issues/71751 replyoptionalsquidFable Converted Pylint to RustBased on their tracking issue, Ruff is missing 156 out of 397 Pylint checks: https://github.com/astral-sh/ruff/issues/970 Though some of them will presumably be covered by TyRustTrendingastral-sh / ruff: An extremely fast Python linter and code formatter, written in Rust. ★50492 https://github.com/astral-sh/ruff

Searched

More from Mindket

See all from Mindket

Bonsai-27B-GGUF

lmstudio-community · Kit

A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

New

Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…

New

MusicGen Small

facebook · Kit

Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…

New

Similar projects

See all in Developer

Open Interpreter

openinterpreter · Kit

The new Rust version of Open Interpreter, a coding agent for your terminal, built on OpenAI’s Codex. You bring the model, from ChatGPT or an API key to Kimi K3…

New68.8k

Lexnet

alpindale · Kit

Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…

New

FLUX.2 Klein LoRA Studio

prithivMLmods · Kit

Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…

New