astral-sh

    astral-sh/ruff

    An extremely fast Python linter and code formatter, written in Rust.

    51.2K stars
    2.6K forks
    159 GitHub watchers
    Updated Nov 10, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 5 days ago, with 448 contributors on GitHub.

    Peaked at #17 in the weekly ranking the week of Dec 14, its best in the past year.

    Use Cases & Benefits

    • Provides an extremely fast Python linter and code formatter implemented in Rust.
    • Delivers 10-100x speed improvements over traditional Python linters and formatters with built-in caching and fix support.
    • Use for accelerating linting and formatting in large Python codebases with drop-in compatibility for Flake8, Black, and isort.
    • Use for integrating a single tool to replace multiple Python code quality tools and plugins, simplifying CI pipelines.
    • Use for embedding fast linting and formatting in editor workflows via first-party VS Code and other editor integrations.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    An extremely fast Python linter and code formatter, written in Rust.

    Linting the CPython codebase from scratch.

    Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface.

    Ruff can be used to replace Flake8 (plus dozens of plugins), Black, isort, pydocstyle, pyupgrade, autoflake, and more, all while executing tens or hundreds of times faster than any individual tool.

    Ruff is extremely actively developed and used in major open-source projects like:

    Ruff is backed by Astral. Read the launch post, or the original project announcement.

    Ruff is so fast that sometimes I add an intentional bug in the code just to confirm it's actually running and checking the code.

    Nick Schrock, founder of Elementl, co-creator of GraphQL:

    Why is Ruff a gamechanger? Primarily because it is nearly 1000x faster. Literally. Not a typo. On our largest module (dagster itself, 250k LOC) pylint takes about 2.5 minutes, parallelized across 4 cores on my M1. Running ruff against our entire codebase takes .4 seconds.

    Excerpt from the astral-sh/ruff README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 6: +19Sep 9: +12Sep 10: +16Sep 11: +6Sep 24: +14Sep 27: +7Nov 8: +253Nov 9: +141Nov 10: +21Nov 11: +25

    +1,987 stars over 90 days across 19 snapshot days; best day +253 on Nov 8.

    Forks

    2.6K+323

    Open issues

    2.3K+194

    Compared with peers in Developer Tools

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    astral-sh/ruff compared with Developer Tools repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    stablyai/orca121.4K+6.7K75today
    DietrichGebert/ponytail188.4K+4.4K7512 days ago
    affaan-m/ECC300.8K+4.3K7540 days ago
    herdrdev/herdr50.0K+2.1K7527 days ago
    max-sixty/worktrunk12.4K+1.9K7521 days ago
    astral-sh/ruff51.2K—755 days ago
    Category median121.4K+4.3K75—

    Also by astral-sh

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description