mirror of https://github.com/astral-sh/ruff
Re-add compatibility to README (#3091)
This commit is contained in:
parent
d5c65b5f1b
commit
37df07d2e0
|
|
@ -27,6 +27,7 @@ An extremely fast Python linter, written in Rust.
|
|||
* ⚡️ 10-100x faster than existing linters
|
||||
* 🐍 Installable via `pip`
|
||||
* 🛠️ `pyproject.toml` support
|
||||
* 🤝 Python 3.11 compatibility
|
||||
* 📦 Built-in caching, to avoid re-analyzing unchanged files
|
||||
* 🔧 Autofix support, for automatic error correction (e.g., automatically remove unused imports)
|
||||
* 📏 Over [400 built-in rules](https://beta.ruff.rs/docs/rules/) (and growing)
|
||||
|
|
|
|||
|
|
@ -168,14 +168,7 @@ If you're looking to use Ruff, but rely on an unsupported Flake8 plugin, feel fr
|
|||
|
||||
## What versions of Python does Ruff support?
|
||||
|
||||
Ruff can lint code for any Python version from 3.7 onwards. However, Ruff lacks support for a few
|
||||
language features that were introduced in Python 3.10 and later. Specifically, Ruff does not
|
||||
support:
|
||||
|
||||
* "Structural Pattern Matching" ([PEP 622](https://peps.python.org/pep-0622/)), introduced in Python 3.10.
|
||||
* "Exception Groups and except* ([PEP 654](https://www.python.org/dev/peps/pep-0654/)), introduced in Python 3.11.
|
||||
|
||||
Support for these features is planned.
|
||||
Ruff can lint code for any Python version from 3.7 onwards, including Python 3.10 and 3.11.
|
||||
|
||||
Ruff does not support Python 2. Ruff _may_ run on pre-Python 3.7 code, although such versions
|
||||
are not officially supported (e.g., Ruff does _not_ respect type comments).
|
||||
|
|
|
|||
Loading…
Reference in New Issue