- update to 0.15.9 * Preview features * [pyflakes] Flag annotated variable redeclarations as F811 in preview mode * [ruff] Allow dunder-named assignments in non-strict mode for RUF067 * Bug fixes * [flake8-errmsg] Avoid shadowing existing msg in fix for EM101 * [flake8-simplify] Ignore pre-initialization references in SIM113 * [pycodestyle] Fix W391 fixes for consecutive empty notebook cells * [pyupgrade] Fix UP008 nested class matching * [pyupgrade] Ignore strings with string-only escapes (UP012) * [ruff] RUF072: skip formfeeds on dedent * [ruff] Avoid re-using symbol in RUF024 fix * [ruff] Parenthesize expression in RUF050 fix * Disallow starred expressions as values of starred expressions * Rule changes * [flake8-simplify] Suppress SIM105 for except* before Python 3.12 * [pyflakes] Extend F507 to flag %-format strings with zero placeholders * [pyupgrade] UP018 should detect more unnecessarily wrapped literals (UP018) * [pyupgrade] Fix UP008 callable scope handling to support lambdas * [ruff] RUF010: Mark fix as unsafe when it deletes a comment * Formatter * Add nested-string-quote-style formatting option * Documentation * [flake8-bugbear] Clarify RUF071 fix safety for non-path string comparisons * [flake8-type-checking] Clarify import cycle wording for TC001/TC002/TC003 * Other changes * Avoid rendering fix lines with trailing whitespace after | OBS-URL: https://build.opensuse.org/request/show/1344910 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=108
Description
No description provided
Languages
RPM Spec
100%