From a36a140005e3d46e9d05b5e2e08c249b5e23920b1bf7502e40ebfe5354c234d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 1 Nov 2024 23:06:50 +0000 Subject: [PATCH 1/2] - update to 0.7.2 * Preview features * Fix formatting of single with-item with trailing comment * [pyupgrade] Add PEP 646 Unpack conversion to * with fix (UP044) * Rule changes * Regenerate known_stdlibs.rs with stdlibs 2024.10.25 * [flake8-no-pep420] Skip namespace package enforcement for PEP 723 scripts (INP001) * Server * Fix server panic when undoing an edit * Bug fixes * Fix issues in discovering ruff in pip build environments * [flake8-type-checking] Fix false positive for singledispatchmethod (TCH003) * [flake8-type-checking] Treat return type of singledispatch as runtime-required (TCH003) * Documentation * [flake8-simplify] Include caveats of enabling if-else-block-instead-of-if-exp (SIM108) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=97 --- python-ruff.changes | 19 +++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.7.1.tar.gz | 3 --- vendor.tar.zst | 4 ++-- 4 files changed, 22 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.7.1.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index 29e327b..b4fd5d3 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Nov 1 20:52:26 UTC 2024 - Ondřej Súkup + +- update to 0.7.2 + * Preview features + * Fix formatting of single with-item with trailing comment + * [pyupgrade] Add PEP 646 Unpack conversion to * with fix (UP044) + * Rule changes + * Regenerate known_stdlibs.rs with stdlibs 2024.10.25 + * [flake8-no-pep420] Skip namespace package enforcement for PEP 723 scripts (INP001) + * Server + * Fix server panic when undoing an edit + * Bug fixes + * Fix issues in discovering ruff in pip build environments + * [flake8-type-checking] Fix false positive for singledispatchmethod (TCH003) + * [flake8-type-checking] Treat return type of singledispatch as runtime-required (TCH003) + * Documentation + * [flake8-simplify] Include caveats of enabling if-else-block-instead-of-if-exp (SIM108) + ------------------------------------------------------------------- Fri Oct 25 19:55:52 UTC 2024 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 41296b5..f6cfd44 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.7.1 +Version: 0.7.2 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.7.1.tar.gz b/ruff-0.7.1.tar.gz deleted file mode 100644 index 91bfbe6..0000000 --- a/ruff-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d8a41d4aa2dad1575adb98a82870cf5db5f76b2938cf2206c22c940034a36f4 -size 3181670 diff --git a/vendor.tar.zst b/vendor.tar.zst index 57947ba..bc03ff7 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:18cd6bc69b55cfe00f7bf47b597bf581580142e5179cb07d812fe2e5e151c671 -size 29148143 +oid sha256:dfa5ce258119db9fd363c703ae9ac44856881ee7136cdd3dd6ed062faa2fb66d +size 29167876 From 6c8515c89a7685c44f339a23971c42785834ce1f2d33ed65cbe3ef989d7c2dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 1 Nov 2024 23:07:04 +0000 Subject: [PATCH 2/2] fix OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=98 --- ruff-0.7.2.tar.gz | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ruff-0.7.2.tar.gz diff --git a/ruff-0.7.2.tar.gz b/ruff-0.7.2.tar.gz new file mode 100644 index 0000000..62211a5 --- /dev/null +++ b/ruff-0.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b14e77293380e475b4e3a7a368e14549288ed2931fce259a6f99978669e844f +size 3210036