TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 8, 2026 · View on GitHub →

astral-sh/ruff

Python linter and formatter

trending 2 of the last 30 days

Speed up Python code checks by over 100x to keep your workflow uninterrupted

Ruff is a tool that finds syntax errors and style issues in Python code and formats it. It combines linters and formatters that were previously installed separately into one, creating a faster and simpler development environment.

Why combine multiple tools into one

Python development typically involved using multiple tools like Flake8, Black, and isort together to ensure code quality. However, the execution time of each tool added up, increasing the wait time for developers every time they modified code. Ruff integrates the functions of these tools into a single program. Written in Rust, it runs 10 to 100 times faster than existing tools. This makes it easy to run checks every time you save code in a local development environment or execute them automatically before committing, without any burden.

Over 900 rules and automatic fixes

Ruff provides over 900 built-in rules.

  • Integrated checking It handles the functions of Flake8, isort, Black, pydocstyle, pyupgrade, and autoflake with a single command.
  • Automatic fixes It automatically fixes specific errors, such as removing unused imports.
  • Configuration management Configuration is managed through pyproject.toml, ruff.toml, and .ruff.toml files, and hierarchical configuration is supported even in monorepo environments.

Installation and execution

Ruff is distributed on PyPI under the name ruff and can be installed via various package managers such as pip, pipx, and uv. The command uvx ruff@0.17.4 check inspects all files in the current directory, while uvx ruff@0.17.4 format formats the code. It can also be used via editor extensions like VS Code and easily integrated into CI/CD pipelines through GitHub Action. It can also be set up as a pre-commit hook to run checks automatically before committing.

Validation in real projects

Ruff is actively used in major open-source projects such as Apache Airflow, FastAPI, Pandas, and SciPy. The creator of FastAPI stated that it is so fast that they intentionally introduced bugs to verify if the code was actually being checked. A co-founder of Bokeh reported that it is 150 to 200 times faster than Flake8 and takes 0.2 seconds to scan the entire repository. These cases show that Ruff provides practical speed even in large-scale projects.

Things to check before adoption

Ruff is distributed under the MIT license and is compatible with Python 3.15. Since existing Flake8 plugins or specific Black settings may differ from Ruff's default behavior, you should compare your existing settings with Ruff's default rules before applying it to your project. In particular, style-related rules are excluded from the default settings to avoid duplication with formatters, so you may need to adjust the configuration file directly to maintain your desired style. Since active development is ongoing, it is recommended to periodically check for changes in the latest version.

Written by AI from this repository's README on November 6, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
2 days between Jun 19, when Trend began recording, and Nov 8, 2026 · first on Nov 6 · best daily rank #10 (Nov 7)

Read from GitHub, as of November 8, 2026.

Language
Rust
Topics
linter · pep8 · python · python3 · ruff · rust · rustpython · static-analysis
Stars
51,096
Contributors
1,011
Forks
2,638
Latest release
0.17.4 · November 5, 2026
Commits
18,031
Last commit
November 8, 2026
Open issues
1,738
Open pull requests
541
Used by
202,259

Related repositories

View on GitHub → · Homepage

README badge

trend.ondo.sh · GitHub daily trending #10 · November 7, 2026

The badge above shows the highest this repository has ranked on GitHub's daily trending since June 19, 2026, and the day it did. Paste the Markdown below into your README. The badge opens this page, and it updates by itself when the repository climbs higher.

[![trend.ondo.sh](https://trend.ondo.sh/github/r/astral-sh--ruff/badge.en.svg)](https://trend.ondo.sh/github/r/astral-sh--ruff/en.html)