awesome-python
awesome-python copied to clipboard
Add ruff code linter
What is this Python project?
An extremely fast Python linter, written in Rust.
What's the difference between this Python project and similar ones?
* 10-100x faster than existing linters
* Installable via pip
* pyproject.toml support
* Built-in caching, to avoid re-analyzing unchanged files
* Autofix support, for automatic error correction (e.g., automatically remove unused imports)
* [Near-parity](https://beta.ruff.rs/docs/#how-does-ruff-compare-to-flake8) with the built-in Flake8 rule set
* Native re-implementations of dozens of Flake8 plugins, like [flake8-bugbear](https://pypi.org/project/flake8-bugbear/)
* First-party editor integrations for [VS Code](https://github.com/charliermarsh/ruff-vscode) and [more](https://github.com/charliermarsh/ruff-lsp)
* Monorepo-friendly, with [hierarchical and cascading configuration](https://beta.ruff.rs/docs/#pyprojecttoml-discovery)
Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface.
--
Anyone who agrees with this pull request could submit an Approve review to it.
https://github.com/vinta/awesome-python/pull/2292
Ruff has been merged via another PR, this should be closed.