Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't raise D208 when last line is non-empty #13372

Merged
merged 6 commits into from
Sep 26, 2024

Conversation

ukyen8
Copy link
Contributor

@ukyen8 ukyen8 commented Sep 16, 2024

…D208)

Summary

This PR is to fix an unexpected change of the D208 rule when trailing quotes are not on a separate line.

Related issue: #13260

Test Plan

Add more test cases to D208.py and update the snapshot file.

Copy link
Contributor

github-actions bot commented Sep 16, 2024

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+0 -1 violations, +0 -0 fixes in 1 projects; 53 projects unchanged)

apache/superset (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --no-preview --select ALL

- scripts/cancel_github_workflows.py:69:1: D208 [*] Docstring is over-indented

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
D208 1 0 1 0 0

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+0 -1 violations, +0 -0 fixes in 1 projects; 53 projects unchanged)

apache/superset (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview --select ALL

- scripts/cancel_github_workflows.py:69:1: D208 [*] Docstring is over-indented

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
D208 1 0 1 0 0

Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. There are a few extra cases that we should consider but this is heading in a good direction

crates/ruff_linter/src/rules/pydocstyle/rules/indent.rs Outdated Show resolved Hide resolved
crates/ruff_linter/src/rules/pydocstyle/rules/indent.rs Outdated Show resolved Hide resolved
crates/ruff_linter/src/rules/pydocstyle/rules/indent.rs Outdated Show resolved Hide resolved
@MichaReiser MichaReiser added bug Something isn't working rule Implementing or modifying a lint rule labels Sep 17, 2024
Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's one more subtle bug that needs fixing. But we're almost there :)

crates/ruff_linter/src/rules/pydocstyle/rules/indent.rs Outdated Show resolved Hide resolved
crates/ruff_linter/src/rules/pydocstyle/rules/indent.rs Outdated Show resolved Hide resolved
crates/ruff_linter/src/rules/pydocstyle/rules/indent.rs Outdated Show resolved Hide resolved
crates/ruff_linter/src/rules/pydocstyle/rules/indent.rs Outdated Show resolved Hide resolved
if i < lines.len() - 1 {
if line_indent_size > docstring_indent_size {
over_indented_lines.push(line);
if !is_last_closing_quotes_only {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main fix where we only exclude the last line if it is all empty

let last_line_over_indent = line_indent_size.saturating_sub(docstring_indent_size);

let is_indent_only = line_indent.len() == last.len();
if last_line_over_indent > 0 && is_indent_only {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requires the same logic. Only apply the last line logic when it is the last line and it only contains the quotes

@MichaReiser MichaReiser changed the title Fix indentation error when trailing quotes are not on separate line (… Don't raise D208 when last line is non-empty Sep 26, 2024
@MichaReiser
Copy link
Member

MichaReiser commented Sep 26, 2024

I pushed a commit that now removes the D208 if the last line is not all empty and at least one docstring line is correctly indented. This aligns the behavior with when the closing quotes are on their own line.

I added a test that demonstrates the behavior.

I also took this as a chance to remove the, IMO, unnecessary lines.collect call (resulting in 1% perf improvement)

@MichaReiser MichaReiser merged commit e83388d into astral-sh:main Sep 26, 2024
20 checks passed
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 7, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 7, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 7, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 7, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 7, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 7, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.6.9](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 9, 2024
##### v0.6.9 (`https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069`)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 9, 2024
##### v0.6.9 (`https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069`)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 9, 2024
##### v0.6.9 (`https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069`)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 9, 2024
##### v0.6.9 (`https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069`)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 9, 2024
##### v0.6.9 (`https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069`)

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 13, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 13, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 13, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 14, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 14, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 14, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 14, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 14, 2024
##### v0.6.9 

##### Preview features

-   Fix codeblock dynamic line length calculation for indented docstring examples ([#13523](astral-sh/ruff#13523))
-   \[`refurb`] Mark `FURB118` fix as unsafe ([#13613](astral-sh/ruff#13613))

##### Rule changes

-   \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#13372](astral-sh/ruff#13372))
-   \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#13573](astral-sh/ruff#13573))

##### Configuration

-   \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#13601](astral-sh/ruff#13601))

##### Bug fixes

-   Support ruff discovery in pip build environments ([#13591](astral-sh/ruff#13591))
-   \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#13609](astral-sh/ruff#13609))
-   \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#13527](astral-sh/ruff#13527))
-   \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#13611](astral-sh/ruff#13611))
-   \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#13518](astral-sh/ruff#13518))

##### Documentation

-   Update GitHub Action link to `astral-sh/ruff-action` ([#13551](astral-sh/ruff#13551))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants