diff --git a/README.md b/README.md index 2bb38e7b8b..4d9ee3f84c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ An extremely fast Python linter and code formatter, written in Rust. - ⚖️ Drop-in parity with [Flake8](https://docs.astral.sh/ruff/faq/#how-does-ruff-compare-to-flake8), isort, and Black - 📦 Built-in caching, to avoid re-analyzing unchanged files - 🔧 Fix support, for automatic error correction (e.g., automatically remove unused imports) -- 📏 Over [700 built-in rules](https://docs.astral.sh/ruff/rules/), with native re-implementations +- 📏 Over [800 built-in rules](https://docs.astral.sh/ruff/rules/), with native re-implementations of popular Flake8 plugins, like flake8-bugbear - ⌨️ First-party [editor integrations](https://docs.astral.sh/ruff/integrations/) for [VS Code](https://github.com/astral-sh/ruff-vscode) and [more](https://github.com/astral-sh/ruff-lsp) @@ -272,7 +272,7 @@ for more on the linting and formatting commands, respectively. -**Ruff supports over 700 lint rules**, many of which are inspired by popular tools like Flake8, +**Ruff supports over 800 lint rules**, many of which are inspired by popular tools like Flake8, isort, pyupgrade, and others. Regardless of the rule's origin, Ruff re-implements every rule in Rust as a first-party feature. diff --git a/docs/faq.md b/docs/faq.md index 5d62ec4f95..6311dddfdc 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -114,8 +114,8 @@ There are a few other minor incompatibilities between Ruff and the originating F ## How does Ruff's linter compare to Pylint? -At time of writing, Pylint implements ~409 total rules, while Ruff implements over 700, of which at -least 172 overlap with the Pylint rule set (see: [#970](https://github.com/astral-sh/ruff/issues/970)). +At time of writing, Pylint implements ~409 total rules, while Ruff implements over 800, of which at +least 209 overlap with the Pylint rule set (see: [#970](https://github.com/astral-sh/ruff/issues/970)). Pylint implements many rules that Ruff does not, and vice versa. For example, Pylint does more type inference than Ruff (e.g., Pylint can validate the number of arguments in a function call). As such, diff --git a/docs/tutorial.md b/docs/tutorial.md index cb7139d473..ccb4e05b13 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -180,7 +180,7 @@ specifically, we'll want to make note of the minimum supported Python version: ### Rule Selection -Ruff supports [over 700 lint rules](rules.md) split across over 50 built-in plugins, but +Ruff supports [over 800 lint rules](rules.md) split across over 50 built-in plugins, but determining the right set of rules will depend on your project's needs: some rules may be too strict, some are framework-specific, and so on.