From 5483fced06e46a42eb4ccba4da29b7cf03d7b43b Mon Sep 17 00:00:00 2001 From: T-256 <132141463+T-256@users.noreply.github.com> Date: Fri, 22 Sep 2023 02:48:51 +0330 Subject: [PATCH 1/2] Bump lint rules count to 700 --- README.md | 4 ++-- docs/tutorial.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6707125055343..137d972a5e9e3 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ An extremely fast Python linter, written in Rust. - 🤝 Python 3.11 compatibility - 📦 Built-in caching, to avoid re-analyzing unchanged files - 🔧 Autofix support, for automatic error correction (e.g., automatically remove unused imports) -- 📏 Over [600 built-in rules](https://docs.astral.sh/ruff/rules/) +- 📏 Over [700 built-in rules](https://docs.astral.sh/ruff/rules/) - ⚖️ [Near-parity](https://docs.astral.sh/ruff/faq/#how-does-ruff-compare-to-flake8) with the built-in Flake8 rule set - 🔌 Native re-implementations of dozens of Flake8 plugins, like flake8-bugbear @@ -233,7 +233,7 @@ linting command. -**Ruff supports over 600 lint rules**, many of which are inspired by popular tools like Flake8, +**Ruff supports over 700 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/tutorial.md b/docs/tutorial.md index 20d9fdcd2bcbe..2a2ae57853527 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -105,7 +105,7 @@ src = ["src"] ### Rule Selection -Ruff supports [over 600 lint rules](rules.md) split across over 40 built-in plugins, but +Ruff supports [over 700 lint rules](rules.md) split across over 40 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. From 9c701390ad3dff18508681d6df4e617e25939ab1 Mon Sep 17 00:00:00 2001 From: T-256 <132141463+T-256@users.noreply.github.com> Date: Fri, 22 Sep 2023 02:55:08 +0330 Subject: [PATCH 2/2] over 50 plugins --- docs/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 2a2ae57853527..a6b47019d8ff2 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -105,7 +105,7 @@ src = ["src"] ### Rule Selection -Ruff supports [over 700 lint rules](rules.md) split across over 40 built-in plugins, but +Ruff supports [over 700 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.