Files
meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.6.bb
T
Khem Raj e37c850df2 python3-ruff: upgrade 0.17.5 -> 0.17.6
- Preview: add a fix for runtime-string-union (TC010)
- Fix duplicate parenthesized items (B033, RUF068), an F823 false
  negative, a PLR1733/PLR1736 false positive and a RUF072 fix that
  produced a syntax error
- Treat relative imports from .__future__ as ordinary imports
- SIM208 fixes avoid redundant bool(); F841 ignores __traceback_hide__
- Performance: stream JSON diagnostics, faster notebook decoding
- Rust toolchain updated to 1.100, MSRV raised to 1.98

Regenerate python3-ruff-crates.inc with bitbake -c update_crates.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-22 22:33:54 -08:00

20 lines
636 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"
SRC_URI += "file://0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch"
SRC_URI[sha256sum] = "2b04276561331300325040bdca21460770029ec574d4c479099e39e8ad1ed43c"
inherit pypi python_maturin cargo-update-recipe-crates
CARGO_SRC_DIR = "rust"
require ${BPN}-crates.inc
INSANE_SKIP:${PN} = "already-stripped"
BBCLASSEXTEND = "native nativesdk"