Files
meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.16.8.bb
T
Leon Anavi a31a426973 python3-ruff: Upgrade 0.16.4 -> 0.16.8
Upgrade to release 0.16.8:

Bug fixes

- Visit functional TypedDict keyword arguments correctly
- [flake8-simplify] Detect nested async with under sync parent
  (SIM117)
- [flake8-simplify] Preserve operand order in SIM109 fix
- [pyupgrade] Preserve required parentheses in multiline UP040
  fixes
- [pyupgrade] Skip TypeVarTuple and ParamSpec conversions with
  bounds or constraints (UP040, UP046, UP047)

Rule changes

- Add support for __lazy_modules__
- Recognize PEP-728 TypedDict class keywords
- Recognize quoted types in typing.TypeForm
- Support conditional assignment to __lazy_modules__
- [flake8-type-checking] Prefer lazy imports over TYPE_CHECKING on
  Python 3.15 and later (TC001, TC002, TC003)
- [pyupgrade] Make the fix for UP040 always unsafe
- [pyupgrade] Stop recommending deprecated ByteString aliases
  (UP035)
- [ruff, flake8-use-pathlib] Recognize the parent_mode argument
  (RUF064, PTH103)
- [ruff] Detect \Z in pytest.raises() match patterns (RUF043)

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-22 11:36:20 -07:00

20 lines
597 B
BlitzBasic

DESCRIPTION = "An extremely fast Python linter and code formatter, written in Rust."
SUMMARY = "An extremely fast Python linter and code formatter"
HOMEPAGE = "https://docs.astral.sh/ruff/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e679ca4f742cbfa29ab6a499529c2d39"
DEPENDS += "python3-maturin-native"
SRC_URI[sha256sum] = "9247bf92b5f04d825c8639a4fe423ec2e4222acd9222e58412b0dab7e442798b"
inherit pypi python_setuptools3_rust cargo-update-recipe-crates
CARGO_SRC_DIR = "rust"
require ${BPN}-crates.inc
INSANE_SKIP:${PN} = "already-stripped"
BBCLASSEXTEND = "native nativesdk"