Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ruff for openSUSE:Factory checked in at 2025-06-30 13:04:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ruff (Old) and /work/SRC/openSUSE:Factory/.python-ruff.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ruff" Mon Jun 30 13:04:08 2025 rev:74 rq:1288970 version:0.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ruff/python-ruff.changes 2025-06-18 22:28:40.683505925 +0200 +++ /work/SRC/openSUSE:Factory/.python-ruff.new.7067/python-ruff.changes 2025-06-30 13:05:07.882531509 +0200 @@ -1,0 +2,67 @@ +Sat Jun 28 16:22:10 UTC 2025 - Ondřej Súkup <mimi...@gmail.com> + +- update to 0.12.1 + * Preview features + * [flake8-errmsg] Extend EM101 to support byte strings + * [flake8-use-pathlib] Add autofix for PTH202 + * [pygrep-hooks] Add AsyncMock methods to invalid-mock-access (PGH005) + * [pylint] Ignore __init__.py files in (PLC0414) + * [ruff] Trigger RUF037 for empty string and byte strings + * [formatter] Fix missing blank lines before decorated classes in .pyi files + * Bug fixes + * Avoid generating diagnostics with per-file ignores + * Handle parenthesized arguments in remove_argument + * [flake8-logging] Avoid false positive for exc_info=True outside logger.exception (LOG014) + * [flake8-pytest-style] Enforce pytest import for decorators + * [flake8-pytest-style] Mark autofix for PT001 and PT023 as unsafe if there's comments in the decorator + * [flake8-pytest-style] PT001/PT023 fix makes syntax error on parenthesized decorator + * [flake8-raise] Make fix unsafe if it deletes comments (RSE102) + * [flake8-simplify] Fix SIM911 autofix creating a syntax error + * [flake8-simplify] Fix false negatives for shadowed bindings (SIM910, SIM911) + * [flake8-simplify] Preserve original behavior for except () and bare except (SIM105) + * [flake8-pyi] Fix PYI041's fix causing TypeError with None | None | ... + * [perflint] Fix PERF101 autofix creating a syntax error and mark autofix as unsafe if there are comments in the list call expr + * [perflint] Fix false negative in PERF401 + * [pylint] Avoid flattening nested min/max when outer call has single argument (PLW3301) + * [pylint] Fix PLC2801 autofix creating a syntax error + * [pylint] Mark PLE0241 autofix as unsafe if there's comments in the base classes + * [pylint] Suppress PLE2510/PLE2512/PLE2513/PLE2514/PLE2515 autofix if the text contains an odd number of backslashes + * [refurb] Detect more exotic float literals in FURB164 + * [refurb] Fix FURB163 autofix creating a syntax error for yield expressions + * [refurb] Mark FURB129 autofix as unsafe if there's comments in the readlines call + * [ruff] Fix false positives and negatives in RUF010 + * Fix casing of analyze.direction variant names + * Rule changes + * Fix f-string interpolation escaping in generated fixes + * [flake8-return] Mark RET501 fix unsafe if comments are inside + * [flake8-async] Fix detection for large integer sleep durations in ASYNC116 rule + * [flake8-async] Mark autofix for ASYNC115 as unsafe if the call expression contains comments + * [flake8-bugbear] Mark autofix for B004 as unsafe if the hasattr call expr contains comments + * [flake8-comprehension] Mark autofix for C420 as unsafe if there's comments inside the dict comprehension + * [flake8-comprehensions] Handle template strings for comprehension fixes + * [flake8-future-annotations] Add autofix (FA100) + * [pyflakes] Mark F504/F522/F523 autofix as unsafe if there's a call with side effect + * [pylint] Allow fix with comments and document performance implications (PLW3301) + * [pylint] Detect more exotic NaN literals in PLW0177 + * [pylint] Fix PLC1802 autofix creating a syntax error and mark autofix as unsafe if there's comments in the len call + * [pyupgrade] Extend version detection to include sys.version_info.major (UP036) + * [ruff] Add lint rule RUF064 for calling chmod with non-octal integers + * [ruff] Added cls.__dict__.get('__annotations__') check (RUF063) + * [ruff] Frozen dataclass default should be valid (RUF009) + * Server + * Consider virtual path for various server actions + * Documentation + * Add fix safety section + * Use updated pre-commit id + * [perflint] Small docs improvement to PERF401 + * [pyupgrade]: Use super(), not __super__ in error messages (UP008) + * [flake8-pie] Small docs fix to PIE794 + * [flake8-pyi] Correct collections-named-tuple example to use PascalCase assignment + * [flake8-pie] Add note on type checking benefits to unnecessary-dict-kwargs (PIE804) + * [pycodestyle] Clarify PEP 8 relationship to whitespace-around-operator rules + * Other changes + * Disallow newlines in format specifiers of single quoted f- or t-strings + * [flake8-logging] Add fix safety section to LOG002 + * [pyupgrade] Add fix safety section to UP010 + +------------------------------------------------------------------- Old: ---- ruff-0.12.0.tar.gz New: ---- ruff-0.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ruff.spec ++++++ --- /var/tmp/diff_new_pack.6dIFaV/_old 2025-06-30 13:05:10.418637205 +0200 +++ /var/tmp/diff_new_pack.6dIFaV/_new 2025-06-30 13:05:10.422637372 +0200 @@ -19,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.12.0 +Version: 0.12.1 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT ++++++ ruff-0.12.0.tar.gz -> ruff-0.12.1.tar.gz ++++++ ++++ 46456 lines of diff (skipped) ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/python-ruff/vendor.tar.zst /work/SRC/openSUSE:Factory/.python-ruff.new.7067/vendor.tar.zst differ: char 7, line 1