Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Update FAQ on Flake8 for structural pattern matching
Browse files Browse the repository at this point in the history
Structural pattern matching ([PEP 622](https://peps.python.org/pep-0622/), tracked by astral-sh#282) was implemented in astral-sh#3047, [v0.0.250](https://github.com/charliermarsh/ruff/releases/tag/v0.0.250).

Relates-to: astral-sh#3091 where the compatibility was (partially) re-added.
  • Loading branch information
YDX-2147483647 authored Mar 13, 2023
1 parent cd192ed commit 1779e0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ 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
- 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.)

There are a few other minor incompatibilities between Ruff and the originating Flake8 plugins:
Expand Down

0 comments on commit 1779e0a

Please sign in to comment.