Ruff

by Astral

Extremely fast Python linter and code formatter, written in Rust

Visit docs.astral.sh FreeOpen source

Ruff is a Python linter and formatter that replaces Flake8, isort, Black, and many plugins with a single tool that runs orders of magnitude faster. It supports hundreds of rules, automatic fixes, and pyproject.toml configuration.

Key features

  • Linting with hundreds of built-in rules
  • Black-compatible formatter
  • Automatic fixes and import sorting
  • Configured through pyproject.toml

Try it on DevTools Daily

Similar tools

  • Black

    The uncompromising Python code formatter

    FreeOpen sourceCLI, VS Code, JetBrains
  • Biome

    Fast formatter and linter for JavaScript, TypeScript, JSON, and CSS

    FreeOpen sourceCLI, VS Code, JetBrains
  • Oxlint

    Fast JavaScript and TypeScript linter written in Rust

    by VoidZeroFreeOpen sourceCLI, VS Code
  • ESLint

    Pluggable linter that finds and fixes problems in JavaScript and TypeScript

    FreeOpen sourceCLI, VS Code, JetBrains
  • Prettier

    Opinionated code formatter for JavaScript, TypeScript, CSS, Markdown, and more

    FreeOpen sourceCLI, VS Code, JetBrains
  • ShellCheck

    Static analysis tool that finds bugs in bash and sh shell scripts

    FreeOpen sourceWeb, CLI, macOS +2

Built a tool like Ruff? Submit it for review