Skip to content
New issue

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

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

Already on GitHub? # to your account

Support ruff discovery in pip build environments #13591

Merged

Conversation

gaborbernat
Copy link
Contributor

@gaborbernat gaborbernat commented Oct 1, 2024

Resolves #13321.

Contents of overlay:

/private/var/folders/v0/l8q3ghks2gs5ns2_p63tyqh40000gq/T/pip-build-env-e0ukpbvo/overlay/bin:
total 26M
-rwxr-xr-x 1 bgabor8 staff 26M Oct  1 08:22 ruff
drwxr-xr-x 3 bgabor8 staff  96 Oct  1 08:22 .
drwxr-xr-x 4 bgabor8 staff 128 Oct  1 08:22 ..

Python executable:

'/Users/bgabor8/git/github/ruff-find-bin-during-build/.venv/bin/python'

PATH is:

['/private/var/folders/v0/l8q3ghks2gs5ns2_p63tyqh40000gq/T/pip-build-env-e0ukpbvo/overlay/bin',
 '/private/var/folders/v0/l8q3ghks2gs5ns2_p63tyqh40000gq/T/pip-build-env-e0ukpbvo/normal/bin',
'/Library/Frameworks/Python.framework/Versions/3.11/bin',
'/Library/Frameworks/Python.framework/Versions/3.12/bin',

Not sure where to add tests, there does not seem to be any existing one. Can someone help me with that?

@gaborbernat gaborbernat force-pushed the fix-pip-env-discovery-fails branch 2 times, most recently from ec80b9e to 102ff83 Compare October 1, 2024 15:30
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
@gaborbernat gaborbernat marked this pull request as ready for review October 1, 2024 15:40
Copy link
Contributor

github-actions bot commented Oct 1, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@charliermarsh charliermarsh self-requested a review October 3, 2024 14:35
@charliermarsh charliermarsh self-assigned this Oct 3, 2024
@charliermarsh charliermarsh added the bug Something isn't working label Oct 3, 2024
@charliermarsh
Copy link
Member

I can take this one.

@charliermarsh charliermarsh enabled auto-merge (squash) October 3, 2024 17:33
@charliermarsh
Copy link
Member

I'm comfortable merging assuming you tested it for your own workflow.

@charliermarsh charliermarsh merged commit 4aefe52 into astral-sh:main Oct 3, 2024
17 checks passed
@gaborbernat gaborbernat deleted the fix-pip-env-discovery-fails branch October 3, 2024 17:43
@gaborbernat
Copy link
Contributor Author

I'm comfortable merging assuming you tested it for your own workflow.

pip does not allow installing build dependencies from git so could not really test it...

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 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 5, 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 5, 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 5, 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))
charliermarsh added a commit that referenced this pull request Oct 29, 2024
## Summary

<!-- What's the purpose of the change? What does it do, and why? -->
Changes in this PR #13591 did not
allow correct discovery in pip build environments.

```python
# both of these variables are tuple[str, str] (length is 2)
first, second = os.path.split(paths[0]), os.path.split(paths[1])

# so these length checks are guaranteed to fail even for build environment folders
if (
    len(first) >= 3
    and len(second) >= 3 
    ...
)
```

~~Here we instead use `pathlib`, and we check all `pip-build-env-` paths
for the folder that is expected to contain the `ruff` executable.~~

Here we update the logic to more properly split out the path components
that we use for `pip-build-env-` inspection.

## Test Plan

I've checked this manually against a workflow that was failing, I'm not
sure what to do for real tests. The same issues apply as with the
previous PR.

---------

Co-authored-by: Jonathan Surany <jsurany@bloomberg.net>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

find_ruff_bin does not work as a build dependency with pip
2 participants