diff --git a/python-ruff.changes b/python-ruff.changes index d0b4fa6..0701df8 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,3 +1,75 @@ +------------------------------------------------------------------- +Sat Feb 28 19:49:57 UTC 2026 - Ondřej Súkup + +- update to 0.15.4 + * Bug fixes + * Fix panic on access to definitions after analyzing definitions + * [pyflakes] Suppress false positive in F821 for names used before del in stub files + * Avoid infinite loop between I002 and PYI025 + * [pyflakes] Fix false positive for @overload from lint.typing-modules (F811) + * [pyupgrade] Fix false positive for TypeVar default before Python 3.12 (UP046) + * [pyupgrade] Fix handling of \N in raw strings (UP032) + * [flake8-async] Fix in_async_context logic + * [ruff] Fix for RUF102 should delete entire comment + * [ruff] Suppress diagnostic for strings with backslashes in interpolations before Python 3.12 (RUF027) + * [flake8-bugbear] Fix B023 false positive for immediately-invoked lambdas + * [parser] Fix false syntax error for match-like annotated assignments + * [parser] Fix indentation tracking after line continuations + * Documentation + * Add Q004 to the list of conflicting rules + * [ruff] Expand lint.external docs and add sub-diagnostic (RUF100, RUF102) + * Fix missing settings links for several linters + * Update isort action comments heading + * [pydocstyle] Fix double comma in description of D404 + * Clarify first-party import detection in Ruff + * Fix incorrect import-heading example + * Preview features + * Expand the default rule set + + multiple-imports-on-one-line (E401) + + module-import-not-at-top-of-file (E402) + + module-import-not-at-top-of-file (E701) + + multiple-statements-on-one-line-semicolon (E702) + + useless-semicolon (E703) + + none-comparison (E711) + + true-false-comparison (E712) + + not-in-test (E713) + + not-is-test (E714) + + type-comparison (E721) + + lambda-assignment (E731) + + ambiguous-variable-name (E741) + + ambiguous-class-name (E742) + + ambiguous-function-name (E743) + + undefined-local-with-import-star (F403) + + undefined-local-with-import-star-usage (F405) + + undefined-local-with-nested-import-star-usage (F406) + + forward-annotation-syntax-error (F722) + * [flake8-pyi] Also check string annotations (PYI041) + * Drop explicit support for .qmd file extension + * Include configured extensions in file discovery + * [flake8-bandit] Allow suspicious imports in TYPE_CHECKING blocks (S401-S415) + * [flake8-bugbear] Allow B901 in pytest hook wrappers + * [flake8-import-conventions] Add missing conventions from upstream (ICN001, ICN002) + * [pydocstyle] Add rule to enforce docstring section ordering (D420) + * [pylint] Implement swap-with-temporary-variable (PLR1712) + * [ruff] Add unnecessary-assign-before-yield (RUF070) + * [ruff] Support file-level noqa in RUF102 + * [ruff] Suppress diagnostic for invalid f-strings before Python 3.12 (RUF027) + * [flake8-bandit] Don't flag BaseLoader/CBaseLoader as unsafe (S506) + * Rule changes + * Render sub-diagnostics in the GitHub output format + * [flake8-bugbear] Tag certain B007 diagnostics as unnecessary + * [ruff] Ignore unknown rule codes in RUF100 + * These are now flagged by RUF102 instead. + * [flake8-executable] Allow global flags in uv shebangs (EXE003) + * [pyupgrade] Fix handling of typing.{io,re} (UP035) + * [ruff] Detect PLC0207 on chained str.split() calls + * Other changes + * Update the Python module (notably find_ruff_bin) for parity with uv + * CLI + * Remove invalid inline noqa warning + * Configuration + * Add extension mapping to configuration file options + ------------------------------------------------------------------- Fri Feb 13 10:38:35 UTC 2026 - Ondřej Súkup diff --git a/python-ruff.spec b/python-ruff.spec index 9eec5a0..742c59b 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -20,7 +20,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.15.1 +Version: 0.15.4 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.15.1.tar.gz b/ruff-0.15.1.tar.gz deleted file mode 100644 index 363f6bd..0000000 --- a/ruff-0.15.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c590fe13fb57c97141ae975c03a1aedb3d3156030cabd740d6ff0b0d601e203f -size 4540855 diff --git a/ruff-0.15.4.tar.gz b/ruff-0.15.4.tar.gz new file mode 100644 index 0000000..153d75b --- /dev/null +++ b/ruff-0.15.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3412195319e42d634470cc97aa9803d07e9d5c9223b99bcb1518f0c725f26ae1 +size 4569550 diff --git a/vendor.tar.zst b/vendor.tar.zst index d9dabf0..0b637f4 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6732e3a6cdfcb90e17563076548291d61479a7fc48273865c8dd8bb050b338eb -size 29036901 +oid sha256:3a00b3012713b2401af8030949b31cfeecc09ca970b28c705254d49404fd5103 +size 28903212