Tweak rule counts

This commit is contained in:
Charlie Marsh 2022-09-12 15:26:21 -04:00
parent ad7daa008e
commit a129e27b3e

View file

@ -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: