Files
meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.5.bb
T
Leon Anavi 51135b5ed7 python3-ruff: Upgrade 0.17.4 -> 0.17.5
Upgrade to release 0.17.5:

Preview features:

- Redirect renamed rules
- [flake8-async] Implement pytest-raises-exception-group (ASYNC401)
- [flake8-logging-format] Mark G004 fix as unsafe
- [pylint] Implement no-method-argument (PLE0211)
- [refurb] Do not offer fix when write is nested in an expression
  (FURB103)
- [ruff] Add renamed-rule (RUF202)
- [ruff] Expand redirected-noqa to other suppression comments
  (RUF101)

Bug fixes:

- Avoid crashing when Ruff logs to a closed stderr pipe
- Fix fixes that add or remove a keyword argument with a
  parenthesized value
- [flake8-import-conventions] Avoid shadowing names when fixing
  import aliases (ICN001)
- [flake8-bugbear] Fix B010 autofix for parenthesized setattr
  calls
- [flake8-pyi] Fix PYI034 autofix for parenthesized self annotations
- [pyupgrade] Fix UP031 duplicating closing parentheses around
  the format string

Rule changes:

- [flake8-bugbear] Ignore frozen dataclass instantiations (B008)

Other changes:

- Fix FreeBSD source builds with libc 0.2.190 (#30176)

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-11-17 12:58:50 -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] = "625e57d80cd43352d12ea81690f3eac46cddc8c0f35026d137fb0f157f94592e"
inherit pypi python_maturin cargo-update-recipe-crates
CARGO_SRC_DIR = "rust"
require ${BPN}-crates.inc
INSANE_SKIP:${PN} = "already-stripped"
BBCLASSEXTEND = "native nativesdk"