- 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
This commit is contained in:
@@ -1,3 +1,75 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 28 19:49:57 UTC 2026 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- 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 <mimi.vx@gmail.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user