
Ruff Has a Free Python Linter — 100x Faster Than Flake8, Written in Rust
A Python project had Flake8, isort, pyupgrade, autoflake, and Black. Five tools, five configs, five CI steps. Linting took 45 seconds on CI. Ruff replaces ALL of them. Written in Rust, it is 10-100x faster. 800+ rules. One tool, one config. What Ruff Offers for Free 800+ Rules - Covers Flake8, isort, pyupgrade, pydocstyle, and more 100x Faster - Lints entire CPython codebase in 0.3 seconds Formatter - Black-compatible code formatting Auto-Fix - Automatically fixes most violations Import Sorting - isort-compatible import organization Type Checking - Basic type stub checking pyproject.toml - Single config file Quick Start pip install ruff ruff check . # lint ruff format . # format ruff check --fix . # auto-fix GitHub: astral-sh/ruff - 35K+ stars Need to monitor and scrape data from multiple web services automatically? I build custom scraping solutions. Check out my web scraping toolkit or email me at spinov001@gmail.com for a tailored solution.
Continue reading on Dev.to Python
Opens in a new tab




