From d672b2f291fabc4d824a72935bb505fef9a3146ee8f30d53fb231a2c004e31cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 11 Nov 2024 14:16:41 +0000 Subject: [PATCH] - update to 0.7.3 * Preview features * Formatter: Disallow single-line implicit concatenated strings * [flake8-pyi] Include all Python file types for PYI006 and PYI066 * [flake8-simplify] Implement split-of-static-string (SIM905) * [refurb] Implement subclass-builtin (FURB189) * [ruff] Improve diagnostic messages and docs (RUF031, RUF032, RUF034) * Rule changes * Detect items that hash to same value in duplicate sets (B033, PLC0208) * [eradicate] Better detection of IntelliJ language injection comments (ERA001) * [flake8-pyi] Add autofix for docstring-in-stub (PYI021) * [flake8-pyi] Update duplicate-literal-member (PYI062) to alawys provide an autofix * [pyflakes] Detect items that hash to same value in duplicate dictionaries (F601) * [ruff] Fix false positive for decorators (RUF028) * Bug fixes * Avoid parsing joint rule codes as distinct codes in # noqa * [eradicate] ignore # language= in commented-out-code rule (ERA001) * [flake8-bugbear] - do not run mutable-argument-default on stubs (B006) * [flake8-builtins] Skip lambda expressions in builtin-argument-shadowing (A002) * [flake8-comprehension] Also remove trailing comma while fixing C409 and C419 * [flake8-simplify] Allow open without context manager in return statement (SIM115) * [pylint] Respect hash-equivalent literals in iteration-over-set (PLC0208) * [pylint] Update known dunder methods for Python 3.13 (PLW3201) * [pyupgrade] - ignore kwarg unpacking for UP044 * [refurb] Parse more exotic decimal strings in verbose-decimal-constructor (FURB157) * Documentation * Add links to missing related options within rule documentations * Add rule short code to mkdocs tags to allow searching via rule codes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=100 --- python-ruff.changes | 32 ++++++++++++++++++++++++++++++++ python-ruff.spec | 2 +- ruff-0.7.2.tar.gz | 3 --- ruff-0.7.3.tar.gz | 3 +++ vendor.tar.zst | 4 ++-- 5 files changed, 38 insertions(+), 6 deletions(-) delete mode 100644 ruff-0.7.2.tar.gz create mode 100644 ruff-0.7.3.tar.gz diff --git a/python-ruff.changes b/python-ruff.changes index b4fd5d3..164c12f 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Mon Nov 11 13:34:06 UTC 2024 - Ondřej Súkup + +- update to 0.7.3 + * Preview features + * Formatter: Disallow single-line implicit concatenated strings + * [flake8-pyi] Include all Python file types for PYI006 and PYI066 + * [flake8-simplify] Implement split-of-static-string (SIM905) + * [refurb] Implement subclass-builtin (FURB189) + * [ruff] Improve diagnostic messages and docs (RUF031, RUF032, RUF034) + * Rule changes + * Detect items that hash to same value in duplicate sets (B033, PLC0208) + * [eradicate] Better detection of IntelliJ language injection comments (ERA001) + * [flake8-pyi] Add autofix for docstring-in-stub (PYI021) + * [flake8-pyi] Update duplicate-literal-member (PYI062) to alawys provide an autofix + * [pyflakes] Detect items that hash to same value in duplicate dictionaries (F601) + * [ruff] Fix false positive for decorators (RUF028) + * Bug fixes + * Avoid parsing joint rule codes as distinct codes in # noqa + * [eradicate] ignore # language= in commented-out-code rule (ERA001) + * [flake8-bugbear] - do not run mutable-argument-default on stubs (B006) + * [flake8-builtins] Skip lambda expressions in builtin-argument-shadowing (A002) + * [flake8-comprehension] Also remove trailing comma while fixing C409 and C419 + * [flake8-simplify] Allow open without context manager in return statement (SIM115) + * [pylint] Respect hash-equivalent literals in iteration-over-set (PLC0208) + * [pylint] Update known dunder methods for Python 3.13 (PLW3201) + * [pyupgrade] - ignore kwarg unpacking for UP044 + * [refurb] Parse more exotic decimal strings in verbose-decimal-constructor (FURB157) + * Documentation + * Add links to missing related options within rule documentations + * Add rule short code to mkdocs tags to allow searching via rule codes + ------------------------------------------------------------------- Fri Nov 1 20:52:26 UTC 2024 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index f6cfd44..29d533b 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.2 +Version: 0.7.3 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.7.2.tar.gz b/ruff-0.7.2.tar.gz deleted file mode 100644 index 62211a5..0000000 --- a/ruff-0.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b14e77293380e475b4e3a7a368e14549288ed2931fce259a6f99978669e844f -size 3210036 diff --git a/ruff-0.7.3.tar.gz b/ruff-0.7.3.tar.gz new file mode 100644 index 0000000..1c353a2 --- /dev/null +++ b/ruff-0.7.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1d1ba2e40b6e71a61b063354d04be669ab0d39c352461f3d789cac68b54a313 +size 3243664 diff --git a/vendor.tar.zst b/vendor.tar.zst index bc03ff7..a82cc57 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dfa5ce258119db9fd363c703ae9ac44856881ee7136cdd3dd6ed062faa2fb66d -size 29167876 +oid sha256:1a5e22dff70d7098288cf2d5b4b9829836fd1a1d2267fb11126c0854cf400b8e +size 29665422