Ruff

Fast Python linter and formatter

astral-sh
 
Open sourceCommand-line tool

Third-party software from public repositories. bestappfor.me does not host it, does not verify it and is not responsible for its use. Download only from the official source and check the license. Terms and disclaimer

Stars
50.1K
GitHub
Health
Solid
11 of 11 checks passed
License
MIT
Open source
Version
0.17.0
4 days ago
Category
Developer tools
Command-line tool
Language
Rust

About

Check your Python code for errors and style problems, and format it, with a single tool. Ruff can fix many issues automatically, such as removing unused imports, and it reads its settings from pyproject.toml.

It is written in Rust and installs with pip. Over 900 built-in rules include reimplementations of popular Flake8 plugins, and it can stand in for Flake8, Black and isort. Caching skips unchanged files, and configuration can cascade through a monorepo. An official VS Code integration is available.

Highlights

  • Lints and formats Python in one tool
  • Over 900 built-in rules with automatic fixes
  • Can replace Flake8, Black and isort

Who it's for

Good for Python developers who want one quick command to lint and format a project, including large ones.

This description was written by our editors with automated assistance, not by the developer, and has not been reviewed yet.

Why it is here

  • Code changed today
  • New release 4 days ago

Official channels

Official channels only. We never host or repackage downloads.

Homebrew
macOS, Linux
0.17.0
brew install ruff
winget
Windows
0.16.9
winget install --id astral-sh.ruff -e

Verified: installer URL on github.com/astral-sh/ruff

GitHub release
Windows, macOS, Linux
0.17.0

You might also like

See all