2 Commits

Author SHA256 Message Date
748db5b983 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=220
2026-02-28 19:57:04 +00:00
f3c7f34cf7 - update to 0.15.1
* Preview features
  * [airflow] Add ruff rules to catch deprecated Airflow imports for Airflow 3.1 (AIR321) 
  * [airflow] Third positional parameter not named ti_key should be flagged for BaseOperatorLink.get_link (AIR303) 
  * [flake8-gettext] Fix false negatives for plural argument of ngettext (INT001, INT002, INT003) 
  * [pyflakes] Fix infinite loop in preview fix for unused-import (F401) 
  * [pygrep-hooks] Detect non-existent mock methods in standalone expressions (PGH005) 
  * [pylint] Allow dunder submodules and improve diagnostic range (PLC2701) 
  * [pyupgrade] Improve diagnostic range for tuples (UP024) 
  * [refurb] Check subscripts in tuple do not use lambda parameters in reimplemented-operator (FURB118) 
  * [ruff] Detect mutable defaults in field calls (RUF008) 
  * [ruff] Ignore std cmath.inf (RUF069) 
  * [ruff] New rule float-equality-comparison (RUF069) 
  * Don't format unlabeled Markdown code blocks 
  * Markdown formatting support in LSP 
  * Support Quarto Markdown language markers 
  * Support formatting pycon Markdown code blocks 
  * Use extension mapping to select Markdown code block language 
 * Bug fixes
  * Avoid false positive for undefined variables in FAST001 
  * Avoid introducing syntax errors for FAST003 autofix 
  * Avoid suggesting InitVar for __post_init__ that references PEP 695 type parameters 
  * Deduplicate type variables in generic functions 
  * Fix exception handler parenthesis removal for Python 3.14+ 
  * Fix f-string middle panic when parsing t-strings 
  * Wrap RUF020 target for multiline fixes 
  * Wrap UP007 target for multiline fixes 
  * Fix missing diagnostics for last range suppression in file 
  * [pyupgrade] Fix syntax error on string with newline escape and comment (UP037) 
 * Rule changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=219
2026-02-13 10:40:35 +00:00