Tool Open source · MIT

Ruff

Ruff is a Python linter and code formatter written in Rust and developed by Astral. It provides a command-line interface with `ruff check` for linting and `ruff format` for formatting, re-implements more than 900 lint rules including rules associated with Flake8 plugins, isort, pydocstyle, and pyupgrade, and offers automatic fixes, built-in caching, editor integrations, pre-commit hooks, a GitHub Action, and hierarchical configuration for monorepos. Its formatter is designed as a Black-compatible alternative. Ruff supports configuration through `pyproject.toml`, `ruff.toml`, or `.ruff.toml`, can be installed through PyPI, uv, pip, pipx, standalone installers, and other package managers, supports Python 3.15, and is released under the MIT license.

View repository Visit site Mentioned in 2 videos ↓

What Ruff is used for

2 uses taken from transcripts — each links to the moment in the video.

  • Python linter in local verification

  • Fast Python linter and code formatter written in Rust that replaces tools like flake8, black, and isort with one CLI tool, including 900+ built-in rules, automatic fixes, and caching.

Videos mentioning Ruff

2 in the library.