diff --git a/python-ruff.changes b/python-ruff.changes index 42006cf..329095b 100644 --- a/python-ruff.changes +++ b/python-ruff.changes @@ -1,60 +1,87 @@ +------------------------------------------------------------------- +Fri Oct 31 09:33:51 UTC 2025 - Dirk Müller + +- update to 0.14.3: + * Respect `--output-format` with `--watch` + * [`pydoclint`] Fix false positive on explicit exception re- + raising (`DOC501`, `DOC502`) + * [`pyflakes`] Revert to stable behavior if imports for + module lie in alternate branches for `F401` + * [`pylint`] Implement `stop-iteration-return` (`PLR1708`) + * [`ruff`] Add support for additional eager conversion + patterns (`RUF065`) + * Fix finding keyword range for clause header after statement + ending with semicolon + * Fix syntax error false positive on nested alternative + patterns + * [`ISC001`] Fix panic when string literals are unclosed + * [`flake8-django`] Apply `DJ001` to annotated fields + * [`flake8-pyi`] Fix `PYI034` to not trigger on metaclasses + (`PYI034`) + * [`flake8-type-checking`] Fix `TC003` false positive with + `future-annotations` + * [`pyflakes`] Fix false positive for `__class__` in lambda + expressions within class definitions (`F821`) + * [`pyupgrade`] Fix false positive for `TypeVar` with default + on Python \<3.13 (`UP046`,`UP047`) + ------------------------------------------------------------------- Fri Oct 24 17:02:43 UTC 2025 - Ondřej Súkup - update to 0.14.2 * Preview features - * [flake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003) + * [flake8-gettext] Resolve qualified names and built-in bindings (INT001, INT002, INT003) * Bug fixes - * Avoid reusing nested, interpolated quotes before Python 3.12 - * Catch syntax errors in nested interpolations before Python 3.12 - * [fastapi] Handle ellipsis defaults in FAST002 autofix - * [flake8-simplify] Skip SIM911 when unknown arguments are present - * [pyupgrade] Always parenthesize assignment expressions in fix for f-string (UP032) - * [pyupgrade] Fix UP032 conversion for decimal ints with underscores - * [fastapi] Skip autofix for keyword and __debug__ path params (FAST003) + * Avoid reusing nested, interpolated quotes before Python 3.12 + * Catch syntax errors in nested interpolations before Python 3.12 + * [fastapi] Handle ellipsis defaults in FAST002 autofix + * [flake8-simplify] Skip SIM911 when unknown arguments are present + * [pyupgrade] Always parenthesize assignment expressions in fix for f-string (UP032) + * [pyupgrade] Fix UP032 conversion for decimal ints with underscores + * [fastapi] Skip autofix for keyword and __debug__ path params (FAST003) * Rule changes - * [flake8-bugbear] Skip B905 and B912 for fewer than two iterables and no starred arguments - * [ruff] Use DiagnosticTag for more pyflakes and pandas rules + * [flake8-bugbear] Skip B905 and B912 for fewer than two iterables and no starred arguments + * [ruff] Use DiagnosticTag for more pyflakes and pandas rules * CLI - * Improve JSON output from ruff rule + * Improve JSON output from ruff rule * Documentation - * Add source to testimonial - * Document when a rule was added + * Add source to testimonial + * Document when a rule was added * Other changes - * [syntax-errors] Name is parameter and global - * [syntax-errors] Alternative match patterns bind different names + * [syntax-errors] Name is parameter and global + * [syntax-errors] Alternative match patterns bind different names ------------------------------------------------------------------- Thu Oct 16 21:55:47 UTC 2025 - Ondřej Súkup - update to 0.14.1 * Preview features - * [formatter] Remove parentheses around multiple exception types on Python 3.14+ - * [flake8-bugbear] Omit annotation in preview fix for B006 - * [flake8-logging-format] Avoid dropping implicitly concatenated pieces in the G004 fix - * [pydoclint] Implement docstring-extraneous-parameter (DOC102) - * [pyupgrade] Extend UP019 to detect typing_extensions.Text (UP019) - * [pyupgrade] Fix false negative for TypeVar with default argument in non-pep695-generic-class (UP046) + * [formatter] Remove parentheses around multiple exception types on Python 3.14+ + * [flake8-bugbear] Omit annotation in preview fix for B006 + * [flake8-logging-format] Avoid dropping implicitly concatenated pieces in the G004 fix + * [pydoclint] Implement docstring-extraneous-parameter (DOC102) + * [pyupgrade] Extend UP019 to detect typing_extensions.Text (UP019) + * [pyupgrade] Fix false negative for TypeVar with default argument in non-pep695-generic-class (UP046) * Bug fixes - * Fix false negatives in Truthiness::from_expr for lambdas, generators, and f-strings - * Fix syntax error false positives for escapes and quotes in f-strings - * Fix syntax error false positives on parenthesized context managers - * [fastapi] Fix false positives for path parameters that FastAPI doesn't recognize (FAST003) - * [flake8-pyi] Fix operator precedence by adding parentheses when needed (PYI061) - * [ruff] Suppress diagnostic for f-string interpolations with debug text (RUF010) + * Fix false negatives in Truthiness::from_expr for lambdas, generators, and f-strings + * Fix syntax error false positives for escapes and quotes in f-strings + * Fix syntax error false positives on parenthesized context managers + * [fastapi] Fix false positives for path parameters that FastAPI doesn't recognize (FAST003) + * [flake8-pyi] Fix operator precedence by adding parentheses when needed (PYI061) + * [ruff] Suppress diagnostic for f-string interpolations with debug text (RUF010) * Rule changes - * [airflow] Add warning to airflow.datasets.DatasetEvent usage (AIR301) - * [flake8-bugbear] Mark B905 and B912 fixes as unsafe + * [airflow] Add warning to airflow.datasets.DatasetEvent usage (AIR301) + * [flake8-bugbear] Mark B905 and B912 fixes as unsafe * Use DiagnosticTag for more rules - changes display in editors * Documentation - * Update Python compatibility from 3.13 to 3.14 in README.md - * Update lint.flake8-type-checking.quoted-annotations docs - * Update setup instructions for Zed 0.208.0+ - * [flake8-datetimez] Clarify docs for several rules - * Fix typo in RUF015 description + * Update Python compatibility from 3.13 to 3.14 in README.md + * Update lint.flake8-type-checking.quoted-annotations docs + * Update setup instructions for Zed 0.208.0+ + * [flake8-datetimez] Clarify docs for several rules + * Fix typo in RUF015 description * Other changes - * Reduce binary size - * Improved error recovery for unclosed strings (including f- and t-strings) + * Reduce binary size + * Improved error recovery for unclosed strings (including f- and t-strings) ------------------------------------------------------------------- Wed Oct 8 10:02:40 UTC 2025 - Dirk Müller diff --git a/python-ruff.spec b/python-ruff.spec index 43bce22..dcf38b0 100644 --- a/python-ruff.spec +++ b/python-ruff.spec @@ -1,7 +1,6 @@ # # spec file for package python-ruff # -# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties @@ -20,7 +19,7 @@ %bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-ruff -Version: 0.14.2 +Version: 0.14.3 Release: 0 Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/ruff-0.14.2.tar.gz b/ruff-0.14.2.tar.gz deleted file mode 100644 index 8e83580..0000000 --- a/ruff-0.14.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98da787668f239313d9c902ca7c523fe11b8ec3f39345553a51b25abc4629c96 -size 5539663 diff --git a/ruff-0.14.3.tar.gz b/ruff-0.14.3.tar.gz new file mode 100644 index 0000000..18e1980 --- /dev/null +++ b/ruff-0.14.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ff876d2ab2b161b6de0aa1f5bd714e8e9b4033dc122ee006925fbacc4f62153 +size 5558687 diff --git a/vendor.tar.zst b/vendor.tar.zst index b4ff9d9..a0ce504 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aad5398cbbdc1e555ed780ea1b71d0c407d35e913425d00b40b3033426aa75dc -size 27952784 +oid sha256:65eccd18d29884ac1db100882a8e8ebc8eb5ff314a2d534679c4722c88ec2ec3 +size 27932862