mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:10:09 +00:00
Tweak rule counts
This commit is contained in:
parent
ad7daa008e
commit
a129e27b3e
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue