- 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`)
  * [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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=197
This commit is contained in:
2025-10-31 09:35:33 +00:00
committed by Git OBS Bridge
parent ac1c7e3855
commit c5811099d8
5 changed files with 69 additions and 43 deletions

View File

@@ -1,60 +1,87 @@
-------------------------------------------------------------------
Fri Oct 31 09:33:51 UTC 2025 - Dirk Müller <dmueller@suse.com>
- 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 <mimi.vx@gmail.com>
- 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 <mimi.vx@gmail.com>
- 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 <dmueller@suse.com>