14
0
forked from pool/python-ruff
Commit Graph

208 Commits

Author SHA256 Message Date
e34fe976fd Accepting request 1323924 from devel:languages:python
- 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
2025-12-22 21:48:20 +00:00
a7d79e0b30 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=209
2025-12-21 12:52:29 +00:00
0bfa8f9655 - 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 
 * 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
2025-12-14 14:29:06 +00:00
486673e544 Accepting request 1322539 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1322539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=97
2025-12-12 20:40:41 +00:00
b4f8886ca9 - update 0.14.8
* 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
2025-12-05 06:21:11 +00:00
085a9b3b16 Accepting request 1320566 from devel:languages:python
- update to 0.14.7
 * Preview features
  * [flake8-bandit] Handle string literal bindings in suspicious-url-open-usage (S310) 
  * [pylint] Fix PLR1708 false positives on nested functions 
  * [pylint] Fix suppression for empty dict without tuple key annotation (PLE1141) 
  * [ruff] Add rule RUF066 to detect unnecessary class properties 
  * [ruff] Catch more dummy variable uses (RUF052) 
 * Bug fixes
  * [server] Set severity for non-rule diagnostics 
  * [flake8-implicit-str-concat] Avoid invalid fix in (ISC003) 
  * [parser] Fix panic when parsing IPython escape command expressions 
 * CLI
  * Show partial fixability indicator in statistics output

OBS-URL: https://build.opensuse.org/request/show/1320566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=96
2025-12-02 12:18:45 +00:00
0572f70601 - update to 0.14.7
* Preview features
  * [flake8-bandit] Handle string literal bindings in suspicious-url-open-usage (S310) 
  * [pylint] Fix PLR1708 false positives on nested functions 
  * [pylint] Fix suppression for empty dict without tuple key annotation (PLE1141) 
  * [ruff] Add rule RUF066 to detect unnecessary class properties 
  * [ruff] Catch more dummy variable uses (RUF052) 
 * Bug fixes
  * [server] Set severity for non-rule diagnostics 
  * [flake8-implicit-str-concat] Avoid invalid fix in (ISC003) 
  * [parser] Fix panic when parsing IPython escape command expressions 
 * CLI
  * Show partial fixability indicator in statistics output

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=204
2025-11-29 13:50:22 +00:00
40744719cd Accepting request 1319715 from devel:languages:python
- 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
2025-11-25 14:52:18 +00:00
b88dae54ec - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=202
2025-11-24 12:12:26 +00:00
7fc1c3a442 Accepting request 1318008 from devel:languages:python
- 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
2025-11-18 14:28:01 +00:00
87cab70bc7 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=200
2025-11-15 18:08:49 +00:00
23b1fea34c Accepting request 1316411 from devel:languages:python
- 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
2025-11-08 15:33:25 +00:00
319d9ecd7b - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=198
2025-11-07 10:36:59 +00:00
0fe2e2bedc - 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
2025-10-31 09:35:33 +00:00
2b77509d5b Accepting request 1313594 from devel:languages:python
- 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
2025-10-27 13:37:22 +00:00
8cd509fbfe - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=195
2025-10-24 17:05:03 +00:00
f06054a49e Accepting request 1311814 from devel:languages:python
- 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) 
 * 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) 
 * Rule changes
  * [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 
 * Other changes
  * Reduce binary size 
  * Improved error recovery for unclosed strings (including f- and t-strings)

OBS-URL: https://build.opensuse.org/request/show/1311814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=91
2025-10-18 12:36:07 +00:00
3bc205f28b - 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) 
 * 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) 
 * Rule changes
  * [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 
 * Other changes
  * Reduce binary size 
  * Improved error recovery for unclosed strings (including f- and t-strings)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=193
2025-10-16 21:57:09 +00:00
c92b89390a Accepting request 1309778 from devel:languages:python
- 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
2025-10-09 12:59:55 +00:00
223dffa18e - 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)
 * 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
2025-10-08 10:03:10 +00:00
28c3dc216b Accepting request 1308866 from devel:languages:python
- 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
2025-10-04 16:50:46 +00:00
2f9b466755 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=189
2025-10-03 12:50:54 +00:00
f1caedf386 Accepting request 1307347 from devel:languages:python
- 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
2025-09-26 20:23:58 +00:00
b88b159b74 - 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)
 * 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
2025-09-26 10:08:27 +00:00
2c1c54a6bb Accepting request 1306058 from devel:languages:python
- 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
2025-09-22 14:38:21 +00:00
7658e0c044 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=185
2025-09-19 19:30:01 +00:00
44d99bbfb6 Accepting request 1303737 from devel:languages:python
- 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
2025-09-11 12:38:22 +00:00
8baa4a25fb - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=183
2025-09-11 00:29:35 +00:00
f07026ad1f Accepting request 1302894 from devel:languages:python
- update to 0.12.12:
  * Show fixes by default
  * [`airflow`] Convert `DatasetOrTimeSchedule(datasets=...)`
    to `AssetOrTimeSchedule(assets=...)` (`AIR311`)
  * [`airflow`] Improve the `AIR002` error message
  * [`airflow`] Move
    `airflow.operators.postgres_operator.Mapping` from `AIR302`
    to `AIR301`
  * [`flake8-async`] Implement `blocking-input` rule
    (`ASYNC250`)
  * [`flake8-use-pathlib`] Make `PTH119` and `PTH120` fixes
    unsafe because they can change behavior
  * [`pylint`] Add U+061C to `PLE2502`
  * [`ruff`] Fix false negative for empty f-strings in `deque`
    calls (`RUF037`)
  * Less confidently mark f-strings as empty when inferring
    truthiness
  * [`fastapi`] Fix false positive for paths with spaces around
    parameters (`FAST003`)
  * [`flake8-comprehensions`] Skip `C417` when lambda contains
    `yield`/`yield from`
  * [`perflint`] Handle tuples in dictionary comprehensions
    (`PERF403`)

- update to 0.12.11
  * [airflow] Extend AIR311 and AIR312 rules
  * [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311)
  * [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212)
  * [flake8-logging-format] Add auto-fix for f-string logging calls (G004)
  * [flake8-use-pathlib] Add autofix for PTH211

OBS-URL: https://build.opensuse.org/request/show/1302894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=85
2025-09-05 19:42:34 +00:00
c930114ffb - update to 0.12.12:
* Show fixes by default
  * [`airflow`] Convert `DatasetOrTimeSchedule(datasets=...)`
    to `AssetOrTimeSchedule(assets=...)` (`AIR311`)
  * [`airflow`] Improve the `AIR002` error message
  * [`airflow`] Move
    `airflow.operators.postgres_operator.Mapping` from `AIR302`
    to `AIR301`
  * [`flake8-async`] Implement `blocking-input` rule
    (`ASYNC250`)
  * [`flake8-use-pathlib`] Make `PTH119` and `PTH120` fixes
    unsafe because they can change behavior
  * [`pylint`] Add U+061C to `PLE2502`
  * [`ruff`] Fix false negative for empty f-strings in `deque`
    calls (`RUF037`)
  * Less confidently mark f-strings as empty when inferring
    truthiness
  * [`fastapi`] Fix false positive for paths with spaces around
    parameters (`FAST003`)
  * [`flake8-comprehensions`] Skip `C417` when lambda contains
    `yield`/`yield from`
  * [`perflint`] Handle tuples in dictionary comprehensions
    (`PERF403`)
- update to 0.12.11
 * Preview features
  * [airflow] Extend AIR311 and AIR312 rules
  * [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311)
  * [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212)
  * [flake8-logging-format] Add auto-fix for f-string logging calls (G004)
  * [flake8-use-pathlib] Add autofix for PTH211

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=181
2025-09-05 09:25:05 +00:00
73c41b3e7d Accepting request 1302462 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1302462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=84
2025-09-03 19:07:09 +00:00
2bc859592b - Update vendor tarball to fix CVE-2025-58160 (bsc#1249011)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=179
2025-09-02 15:30:54 +00:00
5d8fda79b2 Accepting request 1301841 from devel:languages:python
- update to 0.12.11 
 * Preview features
  * [airflow] Extend AIR311 and AIR312 rules 
  * [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311) 
  * [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212) 
  * [flake8-logging-format] Add auto-fix for f-string logging calls (G004) 
  * [flake8-use-pathlib] Add autofix for PTH211 
  * [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior 
 * Bug fixes
  * [pyflakes, pylint] Fix false positives caused by __class__ cell handling (F841, PLE0117) 
  * [pyflakes] Fix allowed-unused-imports matching for top-level modules (F401) 
  * [ruff] Fix false positive for t-strings in default-factory-kwarg (RUF026) 
  * [ruff] Preserve relative whitespace in multi-line expressions (RUF033) 
 * Rule changes
  * [ruff] Handle empty t-strings in unnecessary-empty-iterable-within-deque-call (RUF037) 
 * Documentation
  * Fix incorrect D413 links in docstrings convention FAQ 
  * [flake8-use-pathlib] Update links to the table showing the correspondence between os and pathlib

OBS-URL: https://build.opensuse.org/request/show/1301841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruff?expand=0&rev=83
2025-08-29 16:34:47 +00:00
18e8d4ed54 - update to 0.12.11
* Preview features
  * [airflow] Extend AIR311 and AIR312 rules 
  * [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311) 
  * [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212) 
  * [flake8-logging-format] Add auto-fix for f-string logging calls (G004) 
  * [flake8-use-pathlib] Add autofix for PTH211 
  * [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior 
 * Bug fixes
  * [pyflakes, pylint] Fix false positives caused by __class__ cell handling (F841, PLE0117) 
  * [pyflakes] Fix allowed-unused-imports matching for top-level modules (F401) 
  * [ruff] Fix false positive for t-strings in default-factory-kwarg (RUF026) 
  * [ruff] Preserve relative whitespace in multi-line expressions (RUF033) 
 * Rule changes
  * [ruff] Handle empty t-strings in unnecessary-empty-iterable-within-deque-call (RUF037) 
 * Documentation
  * Fix incorrect D413 links in docstrings convention FAQ 
  * [flake8-use-pathlib] Update links to the table showing the correspondence between os and pathlib

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=177
2025-08-28 22:03:24 +00:00
1e592ccd24 Accepting request 1300962 from devel:languages:python
- 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
2025-08-25 18:36:09 +00:00
0f540c8d39 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=175
2025-08-22 11:11:20 +00:00
40aca1f0d8 Accepting request 1299828 from devel:languages:python
- 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
2025-08-18 14:07:32 +00:00
1375d56cbe - 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
 * 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
2025-08-15 12:57:39 +00:00
4f795caf0d Accepting request 1298595 from devel:languages:python
- 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
2025-08-09 17:59:15 +00:00
89b84e0753 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=171
2025-08-09 10:29:08 +00:00
9a752079c3 Accepting request 1296552 from devel:languages:python
- 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
2025-07-31 15:45:01 +00:00
4fb19a8662 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=169
2025-07-30 11:51:57 +00:00
703bf4c0f8 Accepting request 1295811 from devel:languages:python
- 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
2025-07-27 14:26:12 +00:00
9b3a588d67 - 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)
 * 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
2025-07-25 15:53:18 +00:00
6f0be6d2bc Accepting request 1294441 from devel:languages:python
- 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
2025-07-21 17:58:40 +00:00
4a81ecdb06 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=165
2025-07-18 18:47:43 +00:00
62fb7bf8dd Accepting request 1292499 from devel:languages:python
- 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
2025-07-15 14:43:00 +00:00
d370fa1ba3 - 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/package/show/devel:languages:python/python-ruff?expand=0&rev=163
2025-07-13 12:39:18 +00:00
4f8e38deb1 Accepting request 1290670 from devel:languages:python
- 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
2025-07-06 15:03:57 +00:00
cff2b677ad - 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
 * 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
2025-07-04 11:37:53 +00:00