From 5762e7474a87c7c71ab43b923369bd65144b7f8ae259523330faaf805168017c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 13 May 2024 11:09:55 +0000 Subject: [PATCH] - update to 0.4.4 * Preview features * [pycodestyle] Ignore end-of-line comments when determining blank line rules * [pylint] Detect pathlib.Path.open calls in unspecified-encoding (PLW1514) * [flake8-pyi] Implement PYI059 (generic-not-last-base-class) * [flake8-pyi] Implement PYI062 (duplicate-literal-member) * Rule changes * [flake8-boolean-trap] Allow passing booleans as positional-only arguments in code such as set(True) * [flake8-bugbear] Ignore enum classes in cached-instance-method (B019) * Server * Expand tildes when resolving Ruff server configuration file * Fix ruff server hanging after Neovim closes * Editor settings are used by default if no file-based configuration exists * Bug fixes * [pylint] Consider with statements for too-many-branches (PLR0912) * [flake8-blind-except, tryceratops] Respect logged and re-raised expressions in nested statements (BLE001, TRY201) * Recognise assignments such as __all__ = builtins.list(["foo", "bar"]) as valid __all__ definitions OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=60 --- python-ruff.changes | 21 +++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.4.3.tar.gz | 3 --- ruff-0.4.4.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 27 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.4.3.tar.gz create mode 100644 ruff-0.4.4.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index a348346..7b846f9 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Mon May 13 11:08:03 UTC 2024 - Ondřej Súkup + +- update to 0.4.4 + * Preview features + * [pycodestyle] Ignore end-of-line comments when determining blank line rules + * [pylint] Detect pathlib.Path.open calls in unspecified-encoding (PLW1514) + * [flake8-pyi] Implement PYI059 (generic-not-last-base-class) + * [flake8-pyi] Implement PYI062 (duplicate-literal-member) + * Rule changes + * [flake8-boolean-trap] Allow passing booleans as positional-only arguments in code such as set(True) + * [flake8-bugbear] Ignore enum classes in cached-instance-method (B019) + * Server + * Expand tildes when resolving Ruff server configuration file + * Fix ruff server hanging after Neovim closes + * Editor settings are used by default if no file-based configuration exists + * Bug fixes + * [pylint] Consider with statements for too-many-branches (PLR0912) + * [flake8-blind-except, tryceratops] Respect logged and re-raised expressions in nested statements (BLE001, TRY201) + * Recognise assignments such as __all__ = builtins.list(["foo", "bar"]) as valid __all__ definitions + ------------------------------------------------------------------- Mon May 6 12:06:13 UTC 2024 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index eed8b15..5954321 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.4.3 +Version: 0.4.4 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.4.3.tar.gz b/ruff-0.4.3.tar.gz deleted file mode 100644 index 8127668..0000000 --- a/ruff-0.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff0a3ef2e3c4b6d133fbedcf9586abfbe38d076041f2dc18ffb2c7e0485d5a07 -size 2510726 diff --git a/ruff-0.4.4.tar.gz b/ruff-0.4.4.tar.gz new file mode 100644 index 0000000..ea1115b --- /dev/null +++ b/ruff-0.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f87ea42d5cdebdc6a69761a9d0bc83ae9b3b30d0ad78952005ba6568d6c022af +size 2502630 diff --git a/vendor.tar.zst b/vendor.tar.zst index 505cf8c..11a85de 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:316fdb10bbecfa274b8f65681dfd6a18b945aaf4d02b56659f2354c9e061c802 -size 25181169 +oid sha256:8b602ae65747dfde5d931778c3990e323355768d2bf3a11959a9fbe09aa62f6b +size 25185021