From 20e6266d07248bd230ac264602aa81a819d9c9eb8c364cd9dcb94fbb3517fa2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 25 Jan 2026 20:39:24 +0000 Subject: [PATCH] - update to 0.14.14 * Preview features * Preserve required parentheses in lambda bodies * Combine range suppression code diagnostics * [airflow] Second positional argument to Asset/Dataset should not be a dictionary (AIR303) * [ruff] Detect duplicate entries in __all__ (RUF068) * Bug fixes * [pyupgrade] Allow shadowing non-builtin bindings (UP029) * [pyupgrade] Apply UP045 to string arguments of typing.cast * [flake8-pie] Detect duplicated declared class fields in PIE794 * Rule changes * [flake8-pyi] Fix inconsistent handling of forward references for __new__, __enter__, __aenter__ in PYI034 * [flake8-pytest-style] Support check parameter in PT011 * [ruff] Add exception for ctypes.Structure._fields_ (RUF012) * Many fixes are now marked unsafe if they would remove comments: * [flake8-bugbear] B009, B010, B013, B014, B033 * [flake8-simplify] SIM910, SIM911 * [pyupgrade] UP007, UP039, UP041, UP045 * [refurb] FURB105, FURB116, FURB136, FURB140, FURB145, FURB154, FURB157, FURB164,FURB181, FURB188 * [ruff] RUF019, RUF020 * Documentation * Add --exit-non-zero-on-format to formatter exit codes section * Update contributing guide for adding a new rule * [FastAPI] Document fix safety for FAST001 * [flake8-async] Tweak explanation to focus on latency/efficiency tradeoff (ASYNC110) * [pandas-vet] Make example error out-of-the-box (PD002) * [refurb] Make the example work out of box (FURB101) * [refurb] Make the example work out of box (FURB103) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=215 --- python-ruff.changes | 33 +++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.14.13.tar.gz | 3 --- ruff-0.14.14.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 39 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.14.13.tar.gz create mode 100644 ruff-0.14.14.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index f5b59c1..1d67453 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sun Jan 25 20:38:11 UTC 2026 - Ondřej Súkup + +- update to 0.14.14 + * Preview features + * Preserve required parentheses in lambda bodies + * Combine range suppression code diagnostics + * [airflow] Second positional argument to Asset/Dataset should not be a dictionary (AIR303) + * [ruff] Detect duplicate entries in __all__ (RUF068) + * Bug fixes + * [pyupgrade] Allow shadowing non-builtin bindings (UP029) + * [pyupgrade] Apply UP045 to string arguments of typing.cast + * [flake8-pie] Detect duplicated declared class fields in PIE794 + * Rule changes + * [flake8-pyi] Fix inconsistent handling of forward references for __new__, __enter__, __aenter__ in PYI034 + * [flake8-pytest-style] Support check parameter in PT011 + * [ruff] Add exception for ctypes.Structure._fields_ (RUF012) + * Many fixes are now marked unsafe if they would remove comments: + * [flake8-bugbear] B009, B010, B013, B014, B033 + * [flake8-simplify] SIM910, SIM911 + * [pyupgrade] UP007, UP039, UP041, UP045 + * [refurb] FURB105, FURB116, FURB136, FURB140, FURB145, FURB154, FURB157, FURB164,FURB181, FURB188 + * [ruff] RUF019, RUF020 + * Documentation + * Add --exit-non-zero-on-format to formatter exit codes section + * Update contributing guide for adding a new rule + * [FastAPI] Document fix safety for FAST001 + * [flake8-async] Tweak explanation to focus on latency/efficiency tradeoff (ASYNC110) + * [pandas-vet] Make example error out-of-the-box (PD002) + * [refurb] Make the example work out of box (FURB101) + * [refurb] Make the example work out of box (FURB103) + + ------------------------------------------------------------------- Fri Jan 16 14:29:55 UTC 2026 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index ecc2c68..5ca10b9 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -20,7 +20,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.14.13 +Version: 0.14.14 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.14.13.tar.gz b/ruff-0.14.13.tar.gz deleted file mode 100644 index f200c13..0000000 --- a/ruff-0.14.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83cd6c0763190784b99650a20fec7633c59f6ebe41c5cc9d45ee42749563ad47 -size 6059504 diff --git a/ruff-0.14.14.tar.gz b/ruff-0.14.14.tar.gz new file mode 100644 index 0000000..192ca04 --- /dev/null +++ b/ruff-0.14.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d0f819c9a90205f3a867dbbd0be083bee9912e170fd7d9704cc8ae45824896b +size 4515732 diff --git a/vendor.tar.zst b/vendor.tar.zst index 5cadfa3..6176412 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ddbe5d6165f5d95f3c6ee1cc96dbe76c4d3c5b262a733267fc3a9ac1f0a5d75d -size 28621767 +oid sha256:c5a3cefd8186053fe46c18b611bfb21dbecbb82edf47cefc7103fed79b9f6eef +size 28220257