astral-sh/ruff
Repository · https://github.com/astral-sh/ruff
An extremely fast Python linter and code formatter, written in Rust.
First seen by Oriel on .
AI summary
Ruff is a Rust-based Python linter and formatter that consolidates many code-quality tools behind one interface while claiming 10–100x faster execution than existing alternatives.
- Ruff provides over 900 native rules and drop-in parity with Flake8, isort, and Black, while replacing tools including pydocstyle, pyupgrade, and autoflake.
- It supports automatic fixes, built-in caching, Python 3.15, hierarchical monorepo configuration, and configuration through pyproject.toml, ruff.toml, or .ruff.toml.
- Ruff is installable through uv, pip, pipx, standalone installers, Homebrew, Conda, and other package managers, with integrations for pre-commit, VS Code, and GitHub Actions.
- Default settings use an 88-character line length, four-space indentation, Python 3.11 as the target, double quotes, and selected F, E, B, UP, and RUF rules.
- Preview mode exposes unstable lint rules, formatter changes, interface updates, and other features that may change before stabilization.
#python #rust #linting #code formatting
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Stars
Total repository stars at each observation.
- GitHub Trending: 51,078, latest observation ; +597 over observed period since
Stars gained (1d)
Daily star gain reported by GitHub Trending. A change compares two daily values; it is not additional stars between observations.
- GitHub Trending: 350, latest observation ; +243 over observed period since
Forks
Total repository forks at each observation.
- GitHub Trending: 2,636, latest observation ; +40 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| GitHub Trending | astral-sh/ruff | https://github.com/astral-sh/ruff Read discussion |