Skip to content

Commit 4ad3166

Browse files
Update number of implemented rules to "over 800" (#10500)
## Summary Ruff now implements over 800 rules. Congrats everyone 🎉 819 by my count
1 parent 9aded02 commit 4ad3166

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ An extremely fast Python linter and code formatter, written in Rust.
3232
- ⚖️ Drop-in parity with [Flake8](https://docs.astral.sh/ruff/faq/#how-does-ruff-compare-to-flake8), isort, and Black
3333
- 📦 Built-in caching, to avoid re-analyzing unchanged files
3434
- 🔧 Fix support, for automatic error correction (e.g., automatically remove unused imports)
35-
- 📏 Over [700 built-in rules](https://docs.astral.sh/ruff/rules/), with native re-implementations
35+
- 📏 Over [800 built-in rules](https://docs.astral.sh/ruff/rules/), with native re-implementations
3636
of popular Flake8 plugins, like flake8-bugbear
3737
- ⌨️ First-party [editor integrations](https://docs.astral.sh/ruff/integrations/) for
3838
[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.
272272

273273
<!-- Begin section: Rules -->
274274

275-
**Ruff supports over 700 lint rules**, many of which are inspired by popular tools like Flake8,
275+
**Ruff supports over 800 lint rules**, many of which are inspired by popular tools like Flake8,
276276
isort, pyupgrade, and others. Regardless of the rule's origin, Ruff re-implements every rule in
277277
Rust as a first-party feature.
278278

docs/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ There are a few other minor incompatibilities between Ruff and the originating F
114114

115115
## How does Ruff's linter compare to Pylint?
116116

117-
At time of writing, Pylint implements ~409 total rules, while Ruff implements over 700, of which at
118-
least 172 overlap with the Pylint rule set (see: [#970](https://github.com/astral-sh/ruff/issues/970)).
117+
At time of writing, Pylint implements ~409 total rules, while Ruff implements over 800, of which at
118+
least 209 overlap with the Pylint rule set (see: [#970](https://github.com/astral-sh/ruff/issues/970)).
119119

120120
Pylint implements many rules that Ruff does not, and vice versa. For example, Pylint does more type
121121
inference than Ruff (e.g., Pylint can validate the number of arguments in a function call). As such,

docs/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ specifically, we'll want to make note of the minimum supported Python version:
180180

181181
### Rule Selection
182182

183-
Ruff supports [over 700 lint rules](rules.md) split across over 50 built-in plugins, but
183+
Ruff supports [over 800 lint rules](rules.md) split across over 50 built-in plugins, but
184184
determining the right set of rules will depend on your project's needs: some rules may be too
185185
strict, some are framework-specific, and so on.
186186

0 commit comments

Comments
 (0)