From 305e3488889d39eb45f29161b9bc00976b315feb62306102909d3056edf6df36 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 8 Oct 2025 10:03:10 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=200.14.0:=20=20=20*=20Update=20?= =?UTF-8?q?default=20and=20latest=20Python=20versions=20for=203.14=20=20?= =?UTF-8?q?=20*=20\[`flake8-bugbear`\]=20Include=20certain=20guaranteed-mu?= =?UTF-8?q?table=20=20=20=20=20expressions:=20tuples,=20generators,=20and?= =?UTF-8?q?=20assignment=20expressions=20=20=20=20=20(`B006`)=20=20=20*=20?= =?UTF-8?q?\[`refurb`\]=20Add=20fixes=20for=20`FURB101`=20and=20`FURB103`?= =?UTF-8?q?=20=20=20*=20\[`ruff`\]=20Extend=20`FA102`=20with=20listed=20PE?= =?UTF-8?q?P=E2=80=AF585-compatible=20APIs=20=20=20*=20\[`flake8-annotatio?= =?UTF-8?q?ns`\]=20Fix=20return=20type=20annotations=20to=20=20=20=20=20ha?= =?UTF-8?q?ndle=20shadowed=20builtin=20symbols=20(`ANN201`,=20`ANN202`,=20?= =?UTF-8?q?=20=20=20=20`ANN204`,=20`ANN205`,=20`ANN206`)=20=20=20*=20\[`fl?= =?UTF-8?q?ynt`\]=20Fix=20f-string=20quoting=20for=20mixed=20quote=20joine?= =?UTF-8?q?rs=20=20=20=20=20(`FLY002`)=20=20=20*=20\[`isort`\]=20Fix=20ins?= =?UTF-8?q?erting=20required=20imports=20before=20future=20=20=20=20=20imp?= =?UTF-8?q?orts=20(`I002`)=20=20=20*=20\[`ruff`\]=20Handle=20argfile=20exp?= =?UTF-8?q?ansion=20errors=20gracefully=20=20=20*=20\[`ruff`\]=20Skip=20`R?= =?UTF-8?q?UF051`=20if=20`else`/`elif`=20block=20is=20present=20=20=20*=20?= =?UTF-8?q?\[`ruff`\]=20Improve=20handling=20of=20intermixed=20comments=20?= =?UTF-8?q?inside=20=20=20=20=20from-imports=20=20=20*=20Display=20diffs?= =?UTF-8?q?=20for=20ruff=20format=20--check=20and=20add=20support=20for=20?= =?UTF-8?q?different=20output=20formats=20=20=20*=20[pyflakes]=20Handle=20?= =?UTF-8?q?some=20common=20submodule=20import=20situations=20for=20unused-?= =?UTF-8?q?import=20(F401)=20=20=20*=20[ruff]=20Do=20not=20flag=20%r=20+?= =?UTF-8?q?=20repr()=20combinations=20(RUF065)=20=20*=20Bug=20fixes=20=20?= =?UTF-8?q?=20*=20[cli]=20Add=20conflict=20between=20--add-noqa=20and=20--?= =?UTF-8?q?diff=20options=20=20=20*=20[pylint]=20Exempt=20required=20impor?= =?UTF-8?q?ts=20from=20PLR0402=20=20=20*=20[pylint]=20Fix=20missing=20max-?= =?UTF-8?q?nested-blocks=20in=20settings=20display=20=20=20*=20[pyupgrade]?= =?UTF-8?q?=20Prevent=20infinite=20loop=20with=20I002=20and=20UP026=20=20*?= =?UTF-8?q?=20Rule=20changes=20=20=20*=20[flake8-simplify]=20Improve=20hel?= =?UTF-8?q?p=20message=20clarity=20(SIM105)=20=20*=20Documentation=20=20?= =?UTF-8?q?=20*=20Add=20the=20The=20Basics=20title=20back=20to=20CONTRIBUT?= =?UTF-8?q?ING.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=191 --- python-ruff.changes | 48 +++++++++++++++++++++++++++++++++------------ python-ruff.spec | 3 +-- ruff-0.13.3.tar.gz | 3 --- ruff-0.14.0.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 41 insertions(+), 20 deletions(-) delete mode 100644 ruff-0.13.3.tar.gz create mode 100644 ruff-0.14.0.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index e084226..bbd8307 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,25 +1,47 @@ +------------------------------------------------------------------- +Wed Oct 8 10:02:40 UTC 2025 - Dirk Müller + +- update to 0.14.0: + * Update default and latest Python versions for 3.14 + * \[`flake8-bugbear`\] Include certain guaranteed-mutable + expressions: tuples, generators, and assignment expressions + (`B006`) + * \[`refurb`\] Add fixes for `FURB101` and `FURB103` + * \[`ruff`\] Extend `FA102` with listed PEP 585-compatible APIs + * \[`flake8-annotations`\] Fix return type annotations to + handle shadowed builtin symbols (`ANN201`, `ANN202`, + `ANN204`, `ANN205`, `ANN206`) + * \[`flynt`\] Fix f-string quoting for mixed quote joiners + (`FLY002`) + * \[`isort`\] Fix inserting required imports before future + imports (`I002`) + * \[`ruff`\] Handle argfile expansion errors gracefully + * \[`ruff`\] Skip `RUF051` if `else`/`elif` block is present + * \[`ruff`\] Improve handling of intermixed comments inside + from-imports + ------------------------------------------------------------------- Fri Oct 3 12:38:50 UTC 2025 - Ondřej Súkup - update to 0.13.3: * Preview features - * Display diffs for ruff format --check and add support for different output formats - * [pyflakes] Handle some common submodule import situations for unused-import (F401) - * [ruff] Do not flag %r + repr() combinations (RUF065) + * Display diffs for ruff format --check and add support for different output formats + * [pyflakes] Handle some common submodule import situations for unused-import (F401) + * [ruff] Do not flag %r + repr() combinations (RUF065) * Bug fixes - * [cli] Add conflict between --add-noqa and --diff options - * [pylint] Exempt required imports from PLR0402 - * [pylint] Fix missing max-nested-blocks in settings display - * [pyupgrade] Prevent infinite loop with I002 and UP026 + * [cli] Add conflict between --add-noqa and --diff options + * [pylint] Exempt required imports from PLR0402 + * [pylint] Fix missing max-nested-blocks in settings display + * [pyupgrade] Prevent infinite loop with I002 and UP026 * Rule changes - * [flake8-simplify] Improve help message clarity (SIM105) + * [flake8-simplify] Improve help message clarity (SIM105) * Documentation - * Add the The Basics title back to CONTRIBUTING.md - * Fixed documentation for try_consider_else - * [isort] Clarify dependency between order-by-type and case-sensitive settings - * [pylint] Clarify fix safety to include left-hand hashability (PLR6201) + * Add the The Basics title back to CONTRIBUTING.md + * Fixed documentation for try_consider_else + * [isort] Clarify dependency between order-by-type and case-sensitive settings + * [pylint] Clarify fix safety to include left-hand hashability (PLR6201) * Other changes - * [playground] Fix quick fixes for empty ranges in playground + * [playground] Fix quick fixes for empty ranges in playground ------------------------------------------------------------------- Fri Sep 26 10:07:43 UTC 2025 - Dirk Müller diff --git a/python-ruff.spec b/python-ruff.spec index 5dfcce4..2c80193 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -1,7 +1,6 @@ # # spec file for package python-ruff # -# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties @@ -20,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.13.3 +Version: 0.14.0 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.13.3.tar.gz b/ruff-0.13.3.tar.gz deleted file mode 100644 index d34e686..0000000 --- a/ruff-0.13.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b0ba0db740eefdfbcce4299f49e9eaefc643d4d007749d77d047c2bab19908e -size 5438533 diff --git a/ruff-0.14.0.tar.gz b/ruff-0.14.0.tar.gz new file mode 100644 index 0000000..20fdbf5 --- /dev/null +++ b/ruff-0.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62ec8969b7510f77945df916de15da55311fade8d6050995ff7f680afe582c57 +size 5452071 diff --git a/vendor.tar.zst b/vendor.tar.zst index a4ac5c1..55ec24a 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:329daf2305cb184cc4d52cac7086c1ec527b313fbe1e53500ff3f25bf92480ae -size 29731520 +oid sha256:b5986732b62587f5bebf1341d3ebb2e28a8a60f5dfadbd133e58aff83bc94e6b +size 29507263