From dd17e5b1ccc3b6b02f16fb24272b80d15be21e286a39cc8f941fbe7760884ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 7 Oct 2024 16:58:51 +0000 Subject: [PATCH] - update to 0.6.9 * Preview features * Fix codeblock dynamic line length calculation for indented docstring examples * [refurb] Mark FURB118 fix as unsafe * Rule changes * [pydocstyle] Don't raise D208 when last line is non-empty * [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix * Configuration * [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) * Bug fixes * Support ruff discovery in pip build environments * [flake8-bugbear] Avoid short circuiting B017 for multiple context managers * [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis * [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator * [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=87 --- python-ruff.changes | 19 +++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.6.8.tar.gz | 3 --- ruff-0.6.9.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 25 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.6.8.tar.gz create mode 100644 ruff-0.6.9.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index e61e43d..f55b400 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Oct 7 16:55:47 UTC 2024 - Ondřej Súkup + +- update to 0.6.9 + * Preview features + * Fix codeblock dynamic line length calculation for indented docstring examples + * [refurb] Mark FURB118 fix as unsafe + * Rule changes + * [pydocstyle] Don't raise D208 when last line is non-empty + * [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix + * Configuration + * [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) + * Bug fixes + * Support ruff discovery in pip build environments + * [flake8-bugbear] Avoid short circuiting B017 for multiple context managers + * [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis + * [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator + * [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] + ------------------------------------------------------------------- Thu Sep 26 13:38:35 UTC 2024 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 6956b6e..1940cf5 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.6.8 +Version: 0.6.9 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.6.8.tar.gz b/ruff-0.6.8.tar.gz deleted file mode 100644 index 6a1a9b8..0000000 --- a/ruff-0.6.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5bf44b1aa0adaf6d9d20f86162b34f7c593bfedabc51239953e446aefc8ce18 -size 3084543 diff --git a/ruff-0.6.9.tar.gz b/ruff-0.6.9.tar.gz new file mode 100644 index 0000000..2d3e988 --- /dev/null +++ b/ruff-0.6.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b076ef717a8e5bc819514ee1d602bbdca5b4420ae13a9cf61a0c0a4f53a2baa2 +size 3095355 diff --git a/vendor.tar.zst b/vendor.tar.zst index 39930c9..366129b 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6acc22641d3ba2f100fd345f9b54bc44dc90c70c2623c385dd277d66435b2098 -size 29035180 +oid sha256:2e7a024361ffabef4f4c235e7443a1f6fcd3eb74bdc8ac5423bc3f62479032ec +size 29056618