astral-sh/ruff (ruff)
### [`v0.6.9`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)
[Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.8...0.6.9)
##### Preview features
- Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](https://redirect.github.com/astral-sh/ruff/pull/13523))
- \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](https://redirect.github.com/astral-sh/ruff/pull/13613))
##### Rule changes
- \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](https://redirect.github.com/astral-sh/ruff/pull/13372))
- \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](https://redirect.github.com/astral-sh/ruff/pull/13573))
##### Configuration
- \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](https://redirect.github.com/astral-sh/ruff/pull/13601))
##### Bug fixes
- Support ruff discovery in pip build environments ([#13591](https://redirect.github.com/astral-sh/ruff/pull/13591))
- \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](https://redirect.github.com/astral-sh/ruff/pull/13609))
- \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](https://redirect.github.com/astral-sh/ruff/pull/13527))
- \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](https://redirect.github.com/astral-sh/ruff/pull/13611))
- \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](https://redirect.github.com/astral-sh/ruff/pull/13518))
##### Documentation
- Update GitHub Action link to `astral-sh/ruff-action` ([#13551](https://redirect.github.com/astral-sh/ruff/pull/13551))
Configuration
📅 Schedule: Branch creation - "after 6pm every weekday,every weekend" in timezone Australia/Sydney, Automerge - "after 6pm every weekday,every weekend" in timezone Australia/Sydney.
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==0.6.8
->==0.6.9
Release Notes
astral-sh/ruff (ruff)
### [`v0.6.9`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.8...0.6.9) ##### Preview features - Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](https://redirect.github.com/astral-sh/ruff/pull/13523)) - \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](https://redirect.github.com/astral-sh/ruff/pull/13613)) ##### Rule changes - \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](https://redirect.github.com/astral-sh/ruff/pull/13372)) - \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](https://redirect.github.com/astral-sh/ruff/pull/13573)) ##### Configuration - \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](https://redirect.github.com/astral-sh/ruff/pull/13601)) ##### Bug fixes - Support ruff discovery in pip build environments ([#13591](https://redirect.github.com/astral-sh/ruff/pull/13591)) - \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](https://redirect.github.com/astral-sh/ruff/pull/13609)) - \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](https://redirect.github.com/astral-sh/ruff/pull/13527)) - \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](https://redirect.github.com/astral-sh/ruff/pull/13611)) - \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](https://redirect.github.com/astral-sh/ruff/pull/13518)) ##### Documentation - Update GitHub Action link to `astral-sh/ruff-action` ([#13551](https://redirect.github.com/astral-sh/ruff/pull/13551))Configuration
📅 Schedule: Branch creation - "after 6pm every weekday,every weekend" in timezone Australia/Sydney, Automerge - "after 6pm every weekday,every weekend" in timezone Australia/Sydney.
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.