- update to 0.14.10:
* Preview feature
* [formatter] Fluent formatting of method chains
* [formatter] Keep lambda parameters on one line and parenthesize the body if it expands
* [flake8-implicit-str-concat] New rule to prevent implicit string concatenation in collections (ISC004)
* [flake8-use-pathlib] Make fixes unsafe when types change in compound statements (PTH104, PTH105, PTH109, PTH115)
* [refurb] Extend support for Path.open (FURB101, FURB103)
* Bug fixes
* [pyupgrade] Fix parsing named Unicode escape sequences (UP032)
* Rule changes
* [eradicate] Ignore ruff:disable and ruff:enable comments in ERA001
* [flake8-pytest-style] Allow match and check keyword arguments without an expected exception type (PT010)
* [syntax-errors] Annotated name cannot be global
* Documentation
* Add uv and ty to the Ruff README
* Document known lambda formatting deviations from Black
* Update setup.md
* [flake8-bandit] Fix broken link (S704)
- update to 0.14.9
* Preview features
* [ruff] New RUF100 diagnostics for unused range suppressions
* [pylint] Detect subclasses of builtin exceptions (PLW0133)
* Bug fixes
* Fix comment placement in lambda parameters
* Skip over trivia tokens after re-lexing
* [flake8-bandit] Fix false positive when using non-standard CSafeLoader path (S506).
* [flake8-bugbear] Accept immutable slice default arguments (B008)
* Rule changes
* [pydocstyle] Suppress D417 for parameters with Unpack annotations
OBS-URL: https://build.opensuse.org/request/show/1323924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=98
* Preview feature
* [formatter] Fluent formatting of method chains
* [formatter] Keep lambda parameters on one line and parenthesize the body if it expands
* [flake8-implicit-str-concat] New rule to prevent implicit string concatenation in collections (ISC004)
* [flake8-use-pathlib] Make fixes unsafe when types change in compound statements (PTH104, PTH105, PTH109, PTH115)
* [refurb] Extend support for Path.open (FURB101, FURB103)
* Bug fixes
* [pyupgrade] Fix parsing named Unicode escape sequences (UP032)
* Rule changes
* [eradicate] Ignore ruff:disable and ruff:enable comments in ERA001
* [flake8-pytest-style] Allow match and check keyword arguments without an expected exception type (PT010)
* [syntax-errors] Annotated name cannot be global
* Documentation
* Add uv and ty to the Ruff README
* Document known lambda formatting deviations from Black
* Update setup.md
* [flake8-bandit] Fix broken link (S704)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=209
* Preview features
* [ruff] New RUF100 diagnostics for unused range suppressions
* [pylint] Detect subclasses of builtin exceptions (PLW0133)
* Bug fixes
* Fix comment placement in lambda parameters
* Skip over trivia tokens after re-lexing
* [flake8-bandit] Fix false positive when using non-standard CSafeLoader path (S506).
* [flake8-bugbear] Accept immutable slice default arguments (B008)
* Rule changes
* [pydocstyle] Suppress D417 for parameters with Unpack annotations
* Performance
* Use memchr for computing line indexes
* Documentation
* Document *.pyw is included by default in preview
* Document range suppressions, reorganize suppression docs
* Update mkdocs-material to 9.7.0 (Insiders now free)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=208
* Preview features
* [flake8-bugbear] Catch yield expressions within other statements (B901)
* [flake8-use-pathlib] Mark fixes unsafe for return type changes (PTH104, PTH105, PTH109, PTH115)
* Bug fixes
* Fix syntax error false positives for await outside functions
* [flake8-simplify] Fix truthiness assumption for non-iterable arguments in tuple/list/set calls (SIM222, SIM223)
* Documentation
* Suggest using --output-file option in GitLab integration
* Other changes
* [syntax-error] Default type parameter followed by non-default type parameter
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=206
- update to 0.14.6
* Preview features
* [flake8-bandit] Support new PySNMP API paths (S508, S509)
* Bug fixes
* Adjust own-line comment placement between branches
* Avoid syntax error when formatting attribute expressions with outer parentheses,
parenthesized value, and trailing comment on value
* Fix panic when formatting comments in unary expressions
* Respect fmt: skip for compound statements on a single line
* [refurb] Fix FURB103 autofix
* [ruff] Fix false positive for complex conversion specifiers in logging-eager-conversion (RUF065)
* Rule changes
* [ruff] Avoid false positive on ClassVar reassignment (RUF012)
* CLI
* Render hyperlinks for lint errors
* Add a ruff analyze option to skip over imports in TYPE_CHECKING blocks
* Documentation
* Limit eglot-format hook to eglot-managed Python buffers
* Mention force-exclude in "Configuration > Python file discovery"
- update to 0.14.5
OBS-URL: https://build.opensuse.org/request/show/1319715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=95
* Preview features
* [flake8-bandit] Support new PySNMP API paths (S508, S509)
* Bug fixes
* Adjust own-line comment placement between branches
* Avoid syntax error when formatting attribute expressions with outer parentheses,
parenthesized value, and trailing comment on value
* Fix panic when formatting comments in unary expressions
* Respect fmt: skip for compound statements on a single line
* [refurb] Fix FURB103 autofix
* [ruff] Fix false positive for complex conversion specifiers in logging-eager-conversion (RUF065)
* Rule changes
* [ruff] Avoid false positive on ClassVar reassignment (RUF012)
* CLI
* Render hyperlinks for lint errors
* Add a ruff analyze option to skip over imports in TYPE_CHECKING blocks
* Documentation
* Limit eglot-format hook to eglot-managed Python buffers
* Mention force-exclude in "Configuration > Python file discovery"
- update to 0.14.5
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=202
- update to 0.14.4
* Preview features
* [flake8-simplify] Apply SIM113 when index variable is of type int
* [pydoclint] Fix false positive when Sphinx directives follow a "Raises" section (DOC502)
* [pydoclint] Support NumPy-style comma-separated parameters (DOC102)
* [refurb] Auto-fix annotated assignments (FURB101)
* [ruff] Ignore str() when not used for simple conversion (RUF065)
* Bug fixes
* Fix syntax error false positive on alternative match patterns
* [flake8-simplify] Fix false positive for iterable initializers with generator arguments (SIM222)
* [pyupgrade] Fix false positive on relative imports from local .builtins module (UP029)
* [pyupgrade] Consistently set the deprecated tag (UP035)
* Rule changes
* [refurb] Detect empty f-strings (FURB105)
* CLI
* Add option to provide a reason to --add-noqa
* Add upstream linter URL to ruff linter --output-format=json
* Add color to --help
* Documentation
* Add a new "Opening a PR" section to the contribution guide
* Added the PyScripter IDE to the list of "Who is using Ruff?"
* Update PyCharm setup instructions
* [flake8-annotations] Add link to allow-star-arg-any option (ANN401)
* Other changes
* [configuration] Improve error message when line-length exceeds u16::MAX
OBS-URL: https://build.opensuse.org/request/show/1318008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=94
* Preview features
* [flake8-simplify] Apply SIM113 when index variable is of type int
* [pydoclint] Fix false positive when Sphinx directives follow a "Raises" section (DOC502)
* [pydoclint] Support NumPy-style comma-separated parameters (DOC102)
* [refurb] Auto-fix annotated assignments (FURB101)
* [ruff] Ignore str() when not used for simple conversion (RUF065)
* Bug fixes
* Fix syntax error false positive on alternative match patterns
* [flake8-simplify] Fix false positive for iterable initializers with generator arguments (SIM222)
* [pyupgrade] Fix false positive on relative imports from local .builtins module (UP029)
* [pyupgrade] Consistently set the deprecated tag (UP035)
* Rule changes
* [refurb] Detect empty f-strings (FURB105)
* CLI
* Add option to provide a reason to --add-noqa
* Add upstream linter URL to ruff linter --output-format=json
* Add color to --help
* Documentation
* Add a new "Opening a PR" section to the contribution guide
* Added the PyScripter IDE to the list of "Who is using Ruff?"
* Update PyCharm setup instructions
* [flake8-annotations] Add link to allow-star-arg-any option (ANN401)
* Other changes
* [configuration] Improve error message when line-length exceeds u16::MAX
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=200
- update to 0.14.4
* Preview features
* [formatter] Allow newlines after function headers without docstrings
* [formatter] Avoid extra parentheses for long match patterns with as captures
* [refurb] Expand fix safety for keyword arguments and Decimals (FURB164)
* [refurb] Preserve argument ordering in autofix (FURB103)
* Bug fixes
* [server] Fix missing diagnostics for notebooks
* [flake8-bugbear] Ignore non-NFKC attribute names in B009 and B010
* [refurb] Fix false negative for underscores before sign in Decimal constructor (FURB157)
* [ruff] Fix false positives on starred arguments (RUF057)
* Rule changes
* [airflow] extend deprecated argument concurrency in airflow..DAG (AIR301)
* Documentation
* Improve extend docs
* [flake8-comprehensions] Fix typo in C416 documentation
* Revise Ruff setup instructions for Zed editor
* Other changes
* Make ruff analyze graph work with jupyter notebooks
- 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
OBS-URL: https://build.opensuse.org/request/show/1316411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=93
* Preview features
* [formatter] Allow newlines after function headers without docstrings
* [formatter] Avoid extra parentheses for long match patterns with as captures
* [refurb] Expand fix safety for keyword arguments and Decimals (FURB164)
* [refurb] Preserve argument ordering in autofix (FURB103)
* Bug fixes
* [server] Fix missing diagnostics for notebooks
* [flake8-bugbear] Ignore non-NFKC attribute names in B009 and B010
* [refurb] Fix false negative for underscores before sign in Decimal constructor (FURB157)
* [ruff] Fix false positives on starred arguments (RUF057)
* Rule changes
* [airflow] extend deprecated argument concurrency in airflow..DAG (AIR301)
* Documentation
* Improve extend docs
* [flake8-comprehensions] Fix typo in C416 documentation
* Revise Ruff setup instructions for Zed editor
* Other changes
* Make ruff analyze graph work with jupyter notebooks
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=198
- update to 0.14.2
* Preview features
* [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)
* 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
* CLI
* Improve JSON output from ruff rule
* Documentation
* 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
OBS-URL: https://build.opensuse.org/request/show/1313594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=92
* Preview features
* [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)
* 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
* CLI
* Improve JSON output from ruff rule
* Documentation
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=195
- update to 0.14.0:
* Update default and latest Python versions for 3.14
* \[`flake8-bugbear`\] Include certain guaranteed-mutable
expressions: tuples, generators, and assignment expressions
(`B006`)
* \[`refurb`\] Add fixes for `FURB101` and `FURB103`
* \[`ruff`\] Extend `FA102` with listed PEP 585-compatible APIs
* \[`flake8-annotations`\] Fix return type annotations to
handle shadowed builtin symbols (`ANN201`, `ANN202`,
`ANN204`, `ANN205`, `ANN206`)
* \[`flynt`\] Fix f-string quoting for mixed quote joiners
(`FLY002`)
* \[`isort`\] Fix inserting required imports before future
imports (`I002`)
* \[`ruff`\] Handle argfile expansion errors gracefully
* \[`ruff`\] Skip `RUF051` if `else`/`elif` block is present
* \[`ruff`\] Improve handling of intermixed comments inside
from-imports
* Display diffs for ruff format --check and add support for different output formats
* [pyflakes] Handle some common submodule import situations for unused-import (F401)
* [ruff] Do not flag %r + repr() combinations (RUF065)
* [cli] Add conflict between --add-noqa and --diff options
* [pylint] Exempt required imports from PLR0402
* [pylint] Fix missing max-nested-blocks in settings display
* [pyupgrade] Prevent infinite loop with I002 and UP026
* [flake8-simplify] Improve help message clarity (SIM105)
* Add the The Basics title back to CONTRIBUTING.md
* Fixed documentation for try_consider_else
* [isort] Clarify dependency between order-by-type and case-sensitive settings
OBS-URL: https://build.opensuse.org/request/show/1309778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=90
* Update default and latest Python versions for 3.14
* \[`flake8-bugbear`\] Include certain guaranteed-mutable
expressions: tuples, generators, and assignment expressions
(`B006`)
* \[`refurb`\] Add fixes for `FURB101` and `FURB103`
* \[`ruff`\] Extend `FA102` with listed PEP 585-compatible APIs
* \[`flake8-annotations`\] Fix return type annotations to
handle shadowed builtin symbols (`ANN201`, `ANN202`,
`ANN204`, `ANN205`, `ANN206`)
* \[`flynt`\] Fix f-string quoting for mixed quote joiners
(`FLY002`)
* \[`isort`\] Fix inserting required imports before future
imports (`I002`)
* \[`ruff`\] Handle argfile expansion errors gracefully
* \[`ruff`\] Skip `RUF051` if `else`/`elif` block is present
* \[`ruff`\] Improve handling of intermixed comments inside
from-imports
* Display diffs for ruff format --check and add support for different output formats
* [pyflakes] Handle some common submodule import situations for unused-import (F401)
* [ruff] Do not flag %r + repr() combinations (RUF065)
* Bug fixes
* [cli] Add conflict between --add-noqa and --diff options
* [pylint] Exempt required imports from PLR0402
* [pylint] Fix missing max-nested-blocks in settings display
* [pyupgrade] Prevent infinite loop with I002 and UP026
* Rule changes
* [flake8-simplify] Improve help message clarity (SIM105)
* Documentation
* Add the The Basics title back to CONTRIBUTING.md
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=191
- update to 0.13.3:
* Preview features
* Display diffs for ruff format --check and add support for different output formats
* [pyflakes] Handle some common submodule import situations for unused-import (F401)
* [ruff] Do not flag %r + repr() combinations (RUF065)
* Bug fixes
* [cli] Add conflict between --add-noqa and --diff options
* [pylint] Exempt required imports from PLR0402
* [pylint] Fix missing max-nested-blocks in settings display
* [pyupgrade] Prevent infinite loop with I002 and UP026
* Rule changes
* [flake8-simplify] Improve help message clarity (SIM105)
* Documentation
* Add the The Basics title back to CONTRIBUTING.md
* Fixed documentation for try_consider_else
* [isort] Clarify dependency between order-by-type and case-sensitive settings
* [pylint] Clarify fix safety to include left-hand hashability (PLR6201)
* Other changes
* [playground] Fix quick fixes for empty ranges in playground
OBS-URL: https://build.opensuse.org/request/show/1308866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=89
* Preview features
* Display diffs for ruff format --check and add support for different output formats
* [pyflakes] Handle some common submodule import situations for unused-import (F401)
* [ruff] Do not flag %r + repr() combinations (RUF065)
* Bug fixes
* [cli] Add conflict between --add-noqa and --diff options
* [pylint] Exempt required imports from PLR0402
* [pylint] Fix missing max-nested-blocks in settings display
* [pyupgrade] Prevent infinite loop with I002 and UP026
* Rule changes
* [flake8-simplify] Improve help message clarity (SIM105)
* Documentation
* Add the The Basics title back to CONTRIBUTING.md
* Fixed documentation for try_consider_else
* [isort] Clarify dependency between order-by-type and case-sensitive settings
* [pylint] Clarify fix safety to include left-hand hashability (PLR6201)
* Other changes
* [playground] Fix quick fixes for empty ranges in playground
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=189
- update to 0.13.2:
* [`flake8-async`] Implement `blocking-path-method`
* [`flake8-bugbear`] Implement `map-without-explicit-strict`
* [`flake8-bultins`] Detect class-scope builtin shadowing in
decorators, default args, and attribute initializers (`A003`)
* [`ruff`] Implement `logging-eager-conversion` (`RUF065`)
* Include `.pyw` files by default when linting and formatting
* [flake8-simplify] Detect unnecessary None default for additional key expression types (SIM910)
* [flake8-use-pathlib] Add fix for PTH123
* [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes
* [flake8-use-pathlib] Make PTH111 fix unsafe because it can change behavior
* [pycodestyle] Fix E301 to only trigger for functions immediately within a class
* [refurb] Mark single-item-membership-test fix as always unsafe (FURB171)
* Handle t-strings for token-based rules and suppression comments
* [flake8-bandit] Fix truthiness: dict-only ** displays not truthy for shell (S602, S604, S609)
* [flake8-simplify] Fix diagnostic to show correct method name for str.rsplit calls (SIM905)
* [flynt] Use triple quotes for joined raw strings with newlines (FLY002)
* [pyupgrade] Fix false positive when class name is shadowed by local variable (UP008)
* [pyupgrade] Prevent infinite loop with I002 and UP026
* [ruff] Recognize t-strings, generators, and lambdas in invalid-index-type (RUF016)
* [RUF102] Respect rule redirects in invalid rule code detection
* [flake8-bugbear] Mark the fix for unreliable-callable-check as always unsafe (B004)
* [ruff] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009)
* Add fixes to output-format=sarif
* Treat panics as fatal diagnostics, sort panics last
* [ruff] Add analyze.string-imports-min-dots to settings
* Update README.md with Albumentations new repository URL
* [pyupgrade] Enable UP043 in stub files
* [pyupgrade] Apply UP008 only when the __class__ cell exists
OBS-URL: https://build.opensuse.org/request/show/1307347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=88
* [`flake8-async`] Implement `blocking-path-method`
* [`flake8-bugbear`] Implement `map-without-explicit-strict`
* [`flake8-bultins`] Detect class-scope builtin shadowing in
decorators, default args, and attribute initializers (`A003`)
* [`ruff`] Implement `logging-eager-conversion` (`RUF065`)
* Include `.pyw` files by default when linting and formatting
* [flake8-simplify] Detect unnecessary None default for additional key expression types (SIM910)
* [flake8-use-pathlib] Add fix for PTH123
* [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes
* [flake8-use-pathlib] Make PTH111 fix unsafe because it can change behavior
* [pycodestyle] Fix E301 to only trigger for functions immediately within a class
* [refurb] Mark single-item-membership-test fix as always unsafe (FURB171)
* Bug fixes
* Handle t-strings for token-based rules and suppression comments
* [flake8-bandit] Fix truthiness: dict-only ** displays not truthy for shell (S602, S604, S609)
* [flake8-simplify] Fix diagnostic to show correct method name for str.rsplit calls (SIM905)
* [flynt] Use triple quotes for joined raw strings with newlines (FLY002)
* [pyupgrade] Fix false positive when class name is shadowed by local variable (UP008)
* [pyupgrade] Prevent infinite loop with I002 and UP026
* [ruff] Recognize t-strings, generators, and lambdas in invalid-index-type (RUF016)
* Rule changes
* [RUF102] Respect rule redirects in invalid rule code detection
* [flake8-bugbear] Mark the fix for unreliable-callable-check as always unsafe (B004)
* [ruff] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009)
* Add fixes to output-format=sarif
* Treat panics as fatal diagnostics, sort panics last
* Documentation
* [ruff] Add analyze.string-imports-min-dots to settings
* Update README.md with Albumentations new repository URL
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=187
- update to 0.13.1
* Preview features
* [flake8-simplify] Detect unnecessary None default for additional key expression types (SIM910)
* [flake8-use-pathlib] Add fix for PTH123
* [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes
* [flake8-use-pathlib] Make PTH111 fix unsafe because it can change behavior
* [pycodestyle] Fix E301 to only trigger for functions immediately within a class
* [refurb] Mark single-item-membership-test fix as always unsafe (FURB171)
* Bug fixes
* Handle t-strings for token-based rules and suppression comments
* [flake8-bandit] Fix truthiness: dict-only ** displays not truthy for shell (S602, S604, S609)
* [flake8-simplify] Fix diagnostic to show correct method name for str.rsplit calls (SIM905)
* [flynt] Use triple quotes for joined raw strings with newlines (FLY002)
* [pyupgrade] Fix false positive when class name is shadowed by local variable (UP008)
* [pyupgrade] Prevent infinite loop with I002 and UP026
* [ruff] Recognize t-strings, generators, and lambdas in invalid-index-type (RUF016)
* Rule changes
* [RUF102] Respect rule redirects in invalid rule code detection
* [flake8-bugbear] Mark the fix for unreliable-callable-check as always unsafe (B004)
* [ruff] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009)
* CLI
* Add fixes to output-format=sarif
* Treat panics as fatal diagnostics, sort panics last
* Documentation
* [ruff] Add analyze.string-imports-min-dots to settings
* Update README.md with Albumentations new repository URL
OBS-URL: https://build.opensuse.org/request/show/1306058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=87
* Preview features
* [flake8-simplify] Detect unnecessary None default for additional key expression types (SIM910)
* [flake8-use-pathlib] Add fix for PTH123
* [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes
* [flake8-use-pathlib] Make PTH111 fix unsafe because it can change behavior
* [pycodestyle] Fix E301 to only trigger for functions immediately within a class
* [refurb] Mark single-item-membership-test fix as always unsafe (FURB171)
* Bug fixes
* Handle t-strings for token-based rules and suppression comments
* [flake8-bandit] Fix truthiness: dict-only ** displays not truthy for shell (S602, S604, S609)
* [flake8-simplify] Fix diagnostic to show correct method name for str.rsplit calls (SIM905)
* [flynt] Use triple quotes for joined raw strings with newlines (FLY002)
* [pyupgrade] Fix false positive when class name is shadowed by local variable (UP008)
* [pyupgrade] Prevent infinite loop with I002 and UP026
* [ruff] Recognize t-strings, generators, and lambdas in invalid-index-type (RUF016)
* Rule changes
* [RUF102] Respect rule redirects in invalid rule code detection
* [flake8-bugbear] Mark the fix for unreliable-callable-check as always unsafe (B004)
* [ruff] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009)
* CLI
* Add fixes to output-format=sarif
* Treat panics as fatal diagnostics, sort panics last
* Documentation
* [ruff] Add analyze.string-imports-min-dots to settings
* Update README.md with Albumentations new repository URL
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=185
- update to 0.13.0
* Breaking changes
* Several rules can now add from __future__ import annotations automatically
* Full module paths are now used to verify first-party modules
* Deprecated rules must now be selected by exact rule code
* The deprecated macOS configuration directory fallback has been removed
* Removed Rules
* pandas-df-variable-name (PD901)
* non-pep604-isinstance (UP038)
* Stabilization
* airflow-dag-no-schedule-argument (AIR002)
* airflow3-removal (AIR301)
* airflow3-moved-to-provider (AIR302)
* airflow3-suggested-update (AIR311)
* airflow3-suggested-to-move-to-provider (AIR312)
* long-sleep-not-forever (ASYNC116)
* f-string-number-format (FURB116)
* os-symlink (PTH211)
* generic-not-last-base-class (PYI059)
* redundant-none-literal (PYI061)
* pytest-raises-ambiguous-pattern (RUF043)
* unused-unpacked-variable (RUF059)
* useless-class-metaclass-type (UP050)
* assert-raises-exception (B017) now checks for direct calls to unittest.TestCase.assert_raises
and pytest.raises instead of only the context manager forms.
* missing-trailing-comma (COM812) and prohibited-trailing-comma (COM819) now check
for trailing commas in PEP 695 type parameter lists.
* raw-string-in-exception (EM101) now also checks for byte strings in exception messages.
* invalid-mock-access (PGH005) now checks for AsyncMock methods like
not_awaited in addition to the synchronous variants.
OBS-URL: https://build.opensuse.org/request/show/1303737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=86
* Breaking changes
* Several rules can now add from __future__ import annotations automatically
* Full module paths are now used to verify first-party modules
* Deprecated rules must now be selected by exact rule code
* The deprecated macOS configuration directory fallback has been removed
* Removed Rules
* pandas-df-variable-name (PD901)
* non-pep604-isinstance (UP038)
* Stabilization
* airflow-dag-no-schedule-argument (AIR002)
* airflow3-removal (AIR301)
* airflow3-moved-to-provider (AIR302)
* airflow3-suggested-update (AIR311)
* airflow3-suggested-to-move-to-provider (AIR312)
* long-sleep-not-forever (ASYNC116)
* f-string-number-format (FURB116)
* os-symlink (PTH211)
* generic-not-last-base-class (PYI059)
* redundant-none-literal (PYI061)
* pytest-raises-ambiguous-pattern (RUF043)
* unused-unpacked-variable (RUF059)
* useless-class-metaclass-type (UP050)
* assert-raises-exception (B017) now checks for direct calls to unittest.TestCase.assert_raises
and pytest.raises instead of only the context manager forms.
* missing-trailing-comma (COM812) and prohibited-trailing-comma (COM819) now check
for trailing commas in PEP 695 type parameter lists.
* raw-string-in-exception (EM101) now also checks for byte strings in exception messages.
* invalid-mock-access (PGH005) now checks for AsyncMock methods like
not_awaited in addition to the synchronous variants.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=183
- update to 0.12.10
* Preview features
* [flake8-simplify] Implement fix for maxsplit without separator (SIM905)
* [flake8-use-pathlib] Add fixes for PTH102 and PTH103
* Bug fixes
* [isort] Handle multiple continuation lines after module docstring (I002)
* [pyupgrade] Avoid reporting __future__ features as unnecessary when they are used (UP010)
* [pyupgrade] Handle nested Optionals (UP045)
* Rule changes
* [pycodestyle] Make E731 fix unsafe instead of display-only for class assignments
* [pyflakes] Add secondary annotation showing previous definition (F811)
* Documentation
* Fix description of global config file discovery strategy
* Update outdated links to https://typing.python.org/en/latest/source/stubs.html
* [flake8-annotations] Remove unused import in example (ANN401)
OBS-URL: https://build.opensuse.org/request/show/1300962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=82
* Preview features
* [flake8-simplify] Implement fix for maxsplit without separator (SIM905)
* [flake8-use-pathlib] Add fixes for PTH102 and PTH103
* Bug fixes
* [isort] Handle multiple continuation lines after module docstring (I002)
* [pyupgrade] Avoid reporting __future__ features as unnecessary when they are used (UP010)
* [pyupgrade] Handle nested Optionals (UP045)
* Rule changes
* [pycodestyle] Make E731 fix unsafe instead of display-only for class assignments
* [pyflakes] Add secondary annotation showing previous definition (F811)
* Documentation
* Fix description of global config file discovery strategy
* Update outdated links to https://typing.python.org/en/latest/source/stubs.html
* [flake8-annotations] Remove unused import in example (ANN401)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=175
- update to 0.12.9:
* \[`airflow`\] Add check for
`airflow.secrets.cache.SecretCache` (`AIR301`)
* \[`ruff`\] Offer a safe fix for multi-digit zeros (`RUF064`)
* \[`flake8-blind-except`\] Fix `BLE001` false-positive on
`raise ... from None`
* \[`flake8-comprehensions`\] Fix false positive for `C420`
with attribute, subscript, or slice assignment targets
* \[`flake8-simplify`\] Fix handling of U+001C..U+001F
whitespace (`SIM905`)
* \[`pylint`\] Use lowercase hex characters to match the
formatter (`PLE2513`)
* [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses
* [flake8-blind-except] Change BLE001 to correctly parse exception tuples
* [flake8-errmsg] Exclude typing.cast from EM101
* [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes
* [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001
* [isort] Fix syntax error after docstring ending with backslash (I002)
* [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present
* [pyupgrade] Prevent infinite loop with I002 (UP010, UP035)
* [ruff] Parenthesize generator expressions in f-strings (RUF010)
* [eradicate] Don't flag pyrefly pragmas as unused code (ERA001)
* Replace "associative" with "commutative" in docs for RUF036
* Fix copy and line separator colors in dark mode
* Fix link to typing documentation
* Include column numbers in GitLab output format
* Always expand tabs to four spaces in diagnostics
* Update pre-commit's ruff id
OBS-URL: https://build.opensuse.org/request/show/1299828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=81
* \[`airflow`\] Add check for
`airflow.secrets.cache.SecretCache` (`AIR301`)
* \[`ruff`\] Offer a safe fix for multi-digit zeros (`RUF064`)
* \[`flake8-blind-except`\] Fix `BLE001` false-positive on
`raise ... from None`
* \[`flake8-comprehensions`\] Fix false positive for `C420`
with attribute, subscript, or slice assignment targets
* \[`flake8-simplify`\] Fix handling of U+001C..U+001F
whitespace (`SIM905`)
* \[`pylint`\] Use lowercase hex characters to match the
formatter (`PLE2513`)
* [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses
* Bug fixes
* [flake8-blind-except] Change BLE001 to correctly parse exception tuples
* [flake8-errmsg] Exclude typing.cast from EM101
* [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes
* [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001
* [isort] Fix syntax error after docstring ending with backslash (I002)
* [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present
* [pyupgrade] Prevent infinite loop with I002 (UP010, UP035)
* [ruff] Parenthesize generator expressions in f-strings (RUF010)
* Rule changes
* [eradicate] Don't flag pyrefly pragmas as unused code (ERA001)
* Documentation
* Replace "associative" with "commutative" in docs for RUF036
* Fix copy and line separator colors in dark mode
* Fix link to typing documentation
* Include column numbers in GitLab output format
* Always expand tabs to four spaces in diagnostics
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=173
- update to 0.12.8
* Preview features
* [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses
* Bug fixes
* [flake8-blind-except] Change BLE001 to correctly parse exception tuples
* [flake8-errmsg] Exclude typing.cast from EM101
* [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes
* [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001
* [isort] Fix syntax error after docstring ending with backslash (I002)
* [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present
* [pyupgrade] Prevent infinite loop with I002 (UP010, UP035)
* [ruff] Parenthesize generator expressions in f-strings (RUF010)
* Rule changes
* [eradicate] Don't flag pyrefly pragmas as unused code (ERA001)
* Documentation
* Replace "associative" with "commutative" in docs for RUF036
* Fix copy and line separator colors in dark mode
* Fix link to typing documentation
* [refurb] Make more examples error out-of-the-box
* Other changes
* Include column numbers in GitLab output format
* Always expand tabs to four spaces in diagnostics
* Update pre-commit's ruff id
OBS-URL: https://build.opensuse.org/request/show/1298595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=80
* Preview features
* [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses
* Bug fixes
* [flake8-blind-except] Change BLE001 to correctly parse exception tuples
* [flake8-errmsg] Exclude typing.cast from EM101
* [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes
* [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001
* [isort] Fix syntax error after docstring ending with backslash (I002)
* [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present
* [pyupgrade] Prevent infinite loop with I002 (UP010, UP035)
* [ruff] Parenthesize generator expressions in f-strings (RUF010)
* Rule changes
* [eradicate] Don't flag pyrefly pragmas as unused code (ERA001)
* Documentation
* Replace "associative" with "commutative" in docs for RUF036
* Fix copy and line separator colors in dark mode
* Fix link to typing documentation
* [refurb] Make more examples error out-of-the-box
* Other changes
* Include column numbers in GitLab output format
* Always expand tabs to four spaces in diagnostics
* Update pre-commit's ruff id
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=171
- update to 0.12.7:
* \[`flake8-commas`\] Add support for trailing comma checks in
type parameter lists (`COM812`, `COM819`)
* \[`pylint`\] Implement auto-fix for `missing-maxsplit-arg`
(`PLC0207`)
* \[`ruff`\] Offer fixes for `RUF039` in more cases
* Support `.pyi` files in ruff analyze graph
* \[`flake8-pyi`\] Preserve inline comment in ellipsis removal
(`PYI013`)
* \[`perflint`\] Ignore rule if target is `global` or
`nonlocal` (`PERF401`)
* \[`pyupgrade`\] Fix `UP030` to avoid modifying double curly
braces in format strings
* \[`refurb`\] Ignore decorated functions for `FURB118`
* \[`refurb`\] Mark `int` and `bool` cases for
`Decimal.from_float` as safe fixes (`FURB164`)
* \[`ruff`\] Fix `RUF033` for named default expressions
OBS-URL: https://build.opensuse.org/request/show/1296552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=79
* \[`flake8-commas`\] Add support for trailing comma checks in
type parameter lists (`COM812`, `COM819`)
* \[`pylint`\] Implement auto-fix for `missing-maxsplit-arg`
(`PLC0207`)
* \[`ruff`\] Offer fixes for `RUF039` in more cases
* Support `.pyi` files in ruff analyze graph
* \[`flake8-pyi`\] Preserve inline comment in ellipsis removal
(`PYI013`)
* \[`perflint`\] Ignore rule if target is `global` or
`nonlocal` (`PERF401`)
* \[`pyupgrade`\] Fix `UP030` to avoid modifying double curly
braces in format strings
* \[`refurb`\] Ignore decorated functions for `FURB118`
* \[`refurb`\] Mark `int` and `bool` cases for
`Decimal.from_float` as safe fixes (`FURB164`)
* \[`ruff`\] Fix `RUF033` for named default expressions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=169
- update to 0.12.5:
* \[`flake8-use-pathlib`\] Add autofix for `PTH101`, `PTH104`,
`PTH105`, `PTH121`
* \[`ruff`\] Support byte strings (`RUF055`)
* Fix `unreachable` panic in parser
* \[`flake8-pyi`\] Skip fix if all `Union` members are `None`
(`PYI016`)
* \[`perflint`\] Parenthesize generator expressions (`PERF401`)
* \[`pylint`\] Handle empty comments after line continuation
(`PLR2044`)
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
* [flake8-use-pathlib] Add autofix for PTH109
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
* [isort] Fix I002 import insertion after docstring with multiple string statements
* [isort] Treat form feed as valid whitespace before a semicolon
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
* [pycodestyle] Handle brace escapes for t-strings in logical lines
* [pylint] Extend invalid string character rules to include t-strings
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
* [flake8-type-checking] Make TC010 docs example more realistic
* [flake8-bugbear] Support non-context-manager calls in B017
* [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120
* [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205
OBS-URL: https://build.opensuse.org/request/show/1295811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=78
* \[`flake8-use-pathlib`\] Add autofix for `PTH101`, `PTH104`,
`PTH105`, `PTH121`
* \[`ruff`\] Support byte strings (`RUF055`)
* Fix `unreachable` panic in parser
* \[`flake8-pyi`\] Skip fix if all `Union` members are `None`
(`PYI016`)
* \[`perflint`\] Parenthesize generator expressions (`PERF401`)
* \[`pylint`\] Handle empty comments after line continuation
(`PLR2044`)
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
* [flake8-use-pathlib] Add autofix for PTH109
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
* Bug fixes
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
* [isort] Fix I002 import insertion after docstring with multiple string statements
* [isort] Treat form feed as valid whitespace before a semicolon
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
* Rule changes
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
* [pycodestyle] Handle brace escapes for t-strings in logical lines
* [pylint] Extend invalid string character rules to include t-strings
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
* Documentation
* [flake8-type-checking] Make TC010 docs example more realistic
* [flake8-bugbear] Support non-context-manager calls in B017
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=167
- update to 0.12.4
* Preview features
* [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
* [flake8-use-pathlib] Add autofix for PTH109
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
* Bug fixes
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
* [isort] Fix I002 import insertion after docstring with multiple string statements
* [isort] Treat form feed as valid whitespace before a semicolon
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
* Rule changes
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
* [pycodestyle] Handle brace escapes for t-strings in logical lines
* [pylint] Extend invalid string character rules to include t-strings
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
* Documentation
* [flake8-type-checking] Make TC010 docs example more realistic
* Make more documentation examples error out-of-the-box
OBS-URL: https://build.opensuse.org/request/show/1294441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=77
* Preview features
* [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would
allow new fixes (TC001, TC002, TC003, UP037, RUF013)
* [flake8-use-pathlib] Add autofix for PTH109
* [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514)
* Bug fixes
* [flake8-bugbear] Fix B017 false negatives for keyword exception arguments
* [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210)
* [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field
* [isort] Fix I002 import insertion after docstring with multiple string statements
* [isort] Treat form feed as valid whitespace before a semicolon
* [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202)
* [refurb] FURB164 fix should validate arguments and should usually be marked unsafe
* Rule changes
* [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14
* [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802)
* [pycodestyle] Handle brace escapes for t-strings in logical lines
* [pylint] Extend invalid string character rules to include t-strings
* [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+
* Documentation
* [flake8-type-checking] Make TC010 docs example more realistic
* Make more documentation examples error out-of-the-box
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=165
- update to 0.12.3:
* Preview features
* [flake8-bugbear] Support non-context-manager calls in B017
* [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120
* [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205
* Bug fixes
* [flake8-return] Fix false-positive for variables used inside nested functions in RET504
* Treat form feed as valid whitespace before a line continuation
* [flake8-type-checking] Fix syntax error introduced by fix (TC008)
* [pyupgrade] Keyword arguments in super should suppress the UP008 fix
* Documentation
* [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008)
* [flake8-simplify] Make example error out-of-the-box (SIM116)
* [flake8-type-checking] Make example error out-of-the-box (TC001)
* [flake8-use-pathlib] Make example error out-of-the-box (PTH210)
* [pycodestyle] Make example error out-of-the-box (E272)
* [pycodestyle] Make example not raise unnecessary SyntaxError (E114)
* [pydoclint] Make example error out-of-the-box (DOC501)
* [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028)
* [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207)
* [flake8-bandit] Make example error out-of-the-box (S412)
OBS-URL: https://build.opensuse.org/request/show/1292499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=76
* Preview features
* [flake8-bugbear] Support non-context-manager calls in B017
* [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120
* [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205
* Bug fixes
* [flake8-return] Fix false-positive for variables used inside nested functions in RET504
* Treat form feed as valid whitespace before a line continuation
* [flake8-type-checking] Fix syntax error introduced by fix (TC008)
* [pyupgrade] Keyword arguments in super should suppress the UP008 fix
* Documentation
* [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008)
* [flake8-simplify] Make example error out-of-the-box (SIM116)
* [flake8-type-checking] Make example error out-of-the-box (TC001)
* [flake8-use-pathlib] Make example error out-of-the-box (PTH210)
* [pycodestyle] Make example error out-of-the-box (E272)
* [pycodestyle] Make example not raise unnecessary SyntaxError (E114)
* [pydoclint] Make example error out-of-the-box (DOC501)
* [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028)
* [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207)
* [flake8-bandit] Make example error out-of-the-box (S412)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=163
- update to 0.12.2:
* [`flake8-pyi`] Expand `Optional[A]` to `A | None`
(`PYI016`)
* [`pyupgrade`] Mark `UP008` fix safe if no comments are in
range
* [`flake8-comprehensions`] Fix `C420` to prepend whitespace
when needed
* [`perflint`] Fix `PERF403` panic on attribute or
subscription loop variable
* [`pydocstyle`] Fix `D413` infinite loop for parenthesized
docstring
* [`pylint`] Fix `PLW0108` autofix introducing a syntax error
when the lambda's body contains an assignment expression
* [`refurb`] Fix false positive on empty tuples (`FURB168`)
* [`ruff`] Allow more `field` calls from `attrs` (`RUF009`)
* [`ruff`] Fix syntax error introduced for an empty string
followed by a u-prefixed string (`UP025`)
* [flake8-errmsg] Extend EM101 to support byte strings
* [flake8-use-pathlib] Add autofix for PTH202
* [pygrep-hooks] Add AsyncMock methods to invalid-mock-access (PGH005)
* [pylint] Ignore __init__.py files in (PLC0414)
* [ruff] Trigger RUF037 for empty string and byte strings
* [formatter] Fix missing blank lines before decorated classes in .pyi files
* Avoid generating diagnostics with per-file ignores
* Handle parenthesized arguments in remove_argument
* [flake8-logging] Avoid false positive for exc_info=True outside logger.exception (LOG014)
* [flake8-pytest-style] Enforce pytest import for decorators
* [flake8-pytest-style] Mark autofix for PT001 and PT023 as unsafe if there's comments in the decorator
* [flake8-pytest-style] PT001/PT023 fix makes syntax error on parenthesized decorator
OBS-URL: https://build.opensuse.org/request/show/1290670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=75
* [`flake8-pyi`] Expand `Optional[A]` to `A | None`
(`PYI016`)
* [`pyupgrade`] Mark `UP008` fix safe if no comments are in
range
* [`flake8-comprehensions`] Fix `C420` to prepend whitespace
when needed
* [`perflint`] Fix `PERF403` panic on attribute or
subscription loop variable
* [`pydocstyle`] Fix `D413` infinite loop for parenthesized
docstring
* [`pylint`] Fix `PLW0108` autofix introducing a syntax error
when the lambda's body contains an assignment expression
* [`refurb`] Fix false positive on empty tuples (`FURB168`)
* [`ruff`] Allow more `field` calls from `attrs` (`RUF009`)
* [`ruff`] Fix syntax error introduced for an empty string
followed by a u-prefixed string (`UP025`)
* [flake8-errmsg] Extend EM101 to support byte strings
* [flake8-use-pathlib] Add autofix for PTH202
* [pygrep-hooks] Add AsyncMock methods to invalid-mock-access (PGH005)
* [pylint] Ignore __init__.py files in (PLC0414)
* [ruff] Trigger RUF037 for empty string and byte strings
* [formatter] Fix missing blank lines before decorated classes in .pyi files
* Bug fixes
* Avoid generating diagnostics with per-file ignores
* Handle parenthesized arguments in remove_argument
* [flake8-logging] Avoid false positive for exc_info=True outside logger.exception (LOG014)
* [flake8-pytest-style] Enforce pytest import for decorators
* [flake8-pytest-style] Mark autofix for PT001 and PT023 as unsafe if there's comments in the decorator
* [flake8-pytest-style] PT001/PT023 fix makes syntax error on parenthesized decorator
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=161