From a129e27b3edafef5f39a62ed9d23ddd67a81b2ac Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 12 Sep 2022 15:26:21 -0400 Subject: [PATCH] Tweak rule counts --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1b706d1b4b..535825160e 100644 --- a/README.md +++ b/README.md @@ -123,14 +123,14 @@ ruff's goal is to achieve feature-parity with Flake8 when used (1) without any p (2) alongside Black, and (3) on Python 3 code. (Using Black obviates the need for many of Flake8's stylistic checks; limiting to Python 3 obviates the need for certain compatibility checks.) -Under those conditions, Flake8 implements about 63 rules, give or take. At time of writing, ruff +Under those conditions, Flake8 implements about 61 rules, give or take. At time of writing, ruff implements 36 rules. (Note that these 36 rules likely cover a disproportionate share of errors: unused imports, undefined variables, etc.) -The 27 unimplemented rules are tracked in #170, and include: +The 25 unimplemented rules are tracked in #170, and include: - 14 rules related to string `.format` calls. -- 5 rules related to parsing and syntax errors. +- 3 rules related to parsing and syntax errors. - 8 logical rules. Beyond rule-set parity, ruff suffers from the following limitations vis-à-vis Flake8: