github.com/astral-sh/ruff ↗
An extremely fast Python linter and code formatter, written in Rust.
An animated visualization of astral-sh/ruff's Git history from August 2022 to October 2025, built by 725 contributors. The codebase reached 134,932 lines, mostly Rust. The video runs 2 minutes 7 seconds.
Render your own repo
Turn any GitHub repository into a video like this — free sample in seconds.
Open this visualization on its own page →
Language
Rust
Contributors
725
Lines of Code
134,932
From
2022-08-09
To
2025-10-20
Advertisement
About astral-sh/ruff
Ruff is an extremely fast Python linter and code formatter written in Rust that aims to consolidate multiple Python development tools into a single, unified interface. The tool performs 10-100 times faster than traditional linters like Flake8 and formatters like Black, while providing drop-in compatibility with those tools as well as others like isort and pyupgrade. It supports over 900 lint rules through native Rust implementations, including re-implementations of popular Flake8 plugins such as flake8-bugbear, flake8-comprehensions, and many others.
Ruff can be installed via pip and includes features like built-in caching, automatic error fixing, pyproject.toml configuration support, and editor integrations for VS Code and other editors. The tool is configured through a simple ruff.toml or pyproject.toml file and can function as a replacement for numerous separate tools including Flake8 and its plugins, Black, isort, pydocstyle, pyupgrade, and autoflake. Its speed makes it practical to use as a git pre-commit hook and in continuous integration workflows.
The project has gained widespread adoption among major open-source organizations and companies, including Apache Airflow, FastAPI, Hugging Face, Pandas, SciPy, PyTorch, and Mozilla. It is backed by Astral, the company behind the uv Python package manager, and the project is extremely actively maintained with regular feature additions and improvements.
Advertisement