mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
[doc] Update FAQ on Flake8 for structural pattern matching (#3473)
This commit is contained in:
parent
8955e32b5c
commit
297749a3a8
1 changed files with 2 additions and 5 deletions
|
@ -73,11 +73,8 @@ flake8-tidy-imports. This helps minimize conflicts across plugins and allows any
|
|||
to be toggled on or off with a single (e.g.) `--select TID`, as opposed to `--select I2` (to avoid
|
||||
conflicts with the isort rules, like `I001`).
|
||||
|
||||
Beyond the rule set, Ruff suffers from the following limitations vis-à-vis Flake8:
|
||||
|
||||
1. Ruff does not yet support structural pattern matching.
|
||||
1. 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.)
|
||||
Beyond the rule set, Ruff's primary limitation vis-à-vis Flake8 is that it does not support custom
|
||||
lint rules. (Instead, popular Flake8 plugins are re-implemented in Rust as part of Ruff itself.)
|
||||
|
||||
There are a few other minor incompatibilities between Ruff and the originating Flake8 plugins:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue