astral-sh/ruff
An extremely fast Python linter and code formatter, written in Rust.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
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.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+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
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| stablyai/orca | 121.4K | +6.7K | 75 | today |
| DietrichGebert/ponytail | 188.4K | +4.4K | 75 | 12 days ago |
| affaan-m/ECC | 300.8K | +4.3K | 75 | 40 days ago |
| herdrdev/herdr | 50.0K | +2.1K | 75 | 27 days ago |
| max-sixty/worktrunk | 12.4K | +1.9K | 75 | 21 days ago |
| astral-sh/ruff | 51.2K | — | 75 | 5 days ago |
| Category median | 121.4K | +4.3K | 75 | — |
Also by astral-sh
Other repositories from this maintainer that GStars tracks
Discover Repositories
Search across tracked repositories by name or description