mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:35 +00:00
Add Pylint parity to FAQ (#969)
This commit is contained in:
parent
30ff4de9a3
commit
a0202e8eb2
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -897,6 +897,18 @@ Beyond the rule set, Ruff suffers from the following limitations vis-à-vis Flak
|
||||||
2. Flake8 has a plugin architecture and supports writing custom lint rules. (Instead, popular Flake8
|
2. Flake8 has a plugin architecture and supports writing custom lint rules. (Instead, popular Flake8
|
||||||
plugins are re-implemented in Rust as part of Ruff itself.)
|
plugins are re-implemented in Rust as part of Ruff itself.)
|
||||||
|
|
||||||
|
### How does Ruff compare to Pylint?
|
||||||
|
|
||||||
|
At time of writing, Pylint implements 409 total rules, while Ruff implements 224, of which
|
||||||
|
at least 60 overlap with the Pylint rule set. Subjectively, Pylint tends to implement more rules
|
||||||
|
based on type inference (e.g., validating the number of arguments in a function call).
|
||||||
|
|
||||||
|
Like Flake8, Pylint supports plugins (called "checkers"), while Ruff implements all checks natively.
|
||||||
|
|
||||||
|
Unlike Pylint, Ruff is capable of automatically fixing its own lint errors.
|
||||||
|
|
||||||
|
Pylint parity is being tracked in [#689](https://github.com/charliermarsh/ruff/issues/689).
|
||||||
|
|
||||||
### Which tools does Ruff replace?
|
### Which tools does Ruff replace?
|
||||||
|
|
||||||
Today, Ruff can be used to replace Flake8 when used with any of the following plugins:
|
Today, Ruff can be used to replace Flake8 when used with any of the following plugins:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue