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

Add allow-unused-imports setting for unused-import rule (F401) #13601

Merged
merged 10 commits into from
Oct 3, 2024

Conversation

hoxbro
Copy link
Contributor

@hoxbro hoxbro commented Oct 2, 2024

Summary

Resolves #9962 by allowing a configuration setting allowed-unused-imports

TODO:

  • Figure out the correct name and place for the setting; currently, I have added it top level.
  • The comparison is pretty naive. I tried using glob::Pattern but couldn't get it to work in the configuration.
  • Add tests
  • Update documentations

Test Plan

cargo test

Copy link
Contributor

github-actions bot commented Oct 2, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@hoxbro
Copy link
Contributor Author

hoxbro commented Oct 2, 2024

Maybe a more descriptive name could be allowed-unused-imports.

@hoxbro hoxbro changed the title Add allowed-imports for F401 Add allowed-unused-imports for F401 Oct 3, 2024
@hoxbro hoxbro marked this pull request as ready for review October 3, 2024 10:10
@charliermarsh charliermarsh self-assigned this Oct 3, 2024
@charliermarsh
Copy link
Member

I can take this one.

@charliermarsh charliermarsh self-requested a review October 3, 2024 14:36
@charliermarsh charliermarsh added the configuration Related to settings and configuration label Oct 3, 2024
@charliermarsh charliermarsh changed the title Add allowed-unused-imports for F401 Add ignore-unused-imports setting for unused-import rule (F401) Oct 3, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) October 3, 2024 18:50
@charliermarsh
Copy link
Member

I moved it onto the [pyflakes] section. Thanks!

@charliermarsh charliermarsh changed the title Add ignore-unused-imports setting for unused-import rule (F401) Add allow-unused-imports setting for unused-import rule (F401) Oct 3, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) October 3, 2024 19:40
@charliermarsh charliermarsh merged commit 7ad07c2 into astral-sh:main Oct 3, 2024
17 checks passed
@hoxbro hoxbro deleted the enh_f401 branch October 3, 2024 19:59
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
configuration Related to settings and configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Make F401 unused-imports configurable for modules with side effects
2 participants