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

Fix codeblock dynamic line length calculation for indented examples #13523

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Sep 26, 2024

Summary

This PR fixes the line-length calculation for the mode dynamic for docstring code blocks.

def length(numbers: list[int]) -> int:
    """Get the length of the given list of numbers.

    Example:
        >>> length([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20])
        20
    """
    return len(numbers)

The current implementation only accounted for the docstring's indent and the space taken by the >>> but it didn't account for the indent inside the docstring (for spaces relative to Example). This PR changes the line length calculation to consider the relative indent.

Fixes #13358

Test Plan

I added a few new tests that and they demonstrate that the lines remain collapsed but expand in preview mode (with the fix).

I reviewed all ecosystem changes and they look correct. Many of those docstrings also have E501 suppressions that won't be needed with the fix.

@MichaReiser MichaReiser added formatter Related to the formatter preview Related to preview mode features labels Sep 26, 2024
Copy link
Contributor

github-actions bot commented Sep 26, 2024

ruff-ecosystem results

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

ℹ️ ecosystem check detected format changes. (+20 -6 lines in 4 files in 3 projects; 51 projects unchanged)

apache/airflow (+3 -1 lines across 1 file)

ruff format --preview

airflow/models/baseoperator.py~L1264

             # This is equivalent to
             with DAG(...):
                 generate_content = GenerateContentOperator(task_id="generate_content")
-                send_email = EmailOperator(..., html_content="{{ task_instance.xcom_pull('generate_content') }}")
+                send_email = EmailOperator(
+                    ..., html_content="{{ task_instance.xcom_pull('generate_content') }}"
+                )
                 generate_content >> send_email
 
         """

pandas-dev/pandas (+14 -4 lines across 2 files)

ruff format --preview

pandas/core/arrays/base.py~L1793

                # type for the array, to the physical storage type for
                # the data, before passing to take.
 
-               result = take(data, indices, fill_value=fill_value, allow_fill=allow_fill)
+               result = take(
+                   data, indices, fill_value=fill_value, allow_fill=allow_fill
+               )
                return self._from_sequence(result, dtype=self.dtype)
         """  # noqa: E501
         # Implementer note: The `fill_value` parameter should be a user-facing

pandas/plotting/_core.py~L247

     .. plot::
         :context: close-figs
 
-        >>> data = {"length": [1.5, 0.5, 1.2, 0.9, 3], "width": [0.7, 0.2, 0.15, 0.2, 1.1]}
+        >>> data = {
+        ...     "length": [1.5, 0.5, 1.2, 0.9, 3],
+        ...     "width": [0.7, 0.2, 0.15, 0.2, 1.1],
+        ... }
         >>> index = ["pig", "rabbit", "duck", "chicken", "horse"]
         >>> df = pd.DataFrame(data, index=index)
         >>> hist = df.hist(bins=3)

pandas/plotting/_core.py~L833

         :context: close-figs
 
         >>> df = pd.DataFrame(
-        ...     {"length": [1.5, 0.5, 1.2, 0.9, 3], "width": [0.7, 0.2, 0.15, 0.2, 1.1]},
+        ...     {
+        ...         "length": [1.5, 0.5, 1.2, 0.9, 3],
+        ...         "width": [0.7, 0.2, 0.15, 0.2, 1.1],
+        ...     },
         ...     index=["pig", "rabbit", "duck", "chicken", "horse"],
         ... )
         >>> plot = df.plot(title="DataFrame Plot")

pandas/plotting/_core.py~L1614

             ...         "signups": [5, 5, 6, 12, 14, 13],
             ...         "visits": [20, 42, 28, 62, 81, 50],
             ...     },
-            ...     index=pd.date_range(start="2018/01/01", end="2018/07/01", freq="ME"),
+            ...     index=pd.date_range(
+            ...         start="2018/01/01", end="2018/07/01", freq="ME"
+            ...     ),
             ... )
             >>> ax = df.plot.area()
 

pytest-dev/pytest (+3 -1 lines across 1 file)

ruff format --preview

src/_pytest/python_api.py~L858

 
        Given that ``pytest.raises`` matches subclasses, be wary of using it to match :class:`Exception` like this::
 
-           with pytest.raises(Exception):  # Careful, this will catch ANY exception raised.
+           with pytest.raises(
+               Exception
+           ):  # Careful, this will catch ANY exception raised.
                some_function()
 
        Because :class:`Exception` is the base class of almost all exceptions, it is easy for this to hide

@MichaReiser MichaReiser marked this pull request as ready for review September 26, 2024 14:52
context: &PyFormatContext,
) -> bool {
context.is_preview()
}
Copy link
Member

Choose a reason for hiding this comment

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

How come this is treated as a new style instead of a bug fix? (Sorry, I'm probably out of step with what our policy is here.)

Copy link
Member Author

Choose a reason for hiding this comment

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

The formatter versioning policy is rather strict:

The stable style changed to prevent invalid syntax, changes to the program's semantics, or removal of comments

It only allows hard correctness errors. The only other permitted changes are bug fixes that don't change any already formatted code. For example, we can fix a bug where the formatter incorrectly collapses two blank lines to one instead of preserving one or two.

The motivation for this strict rule is that a ruff format --check command shouldn't start failing between patch versions for already formatted code.

@MichaReiser MichaReiser merged commit c046101 into main Sep 27, 2024
20 checks passed
@MichaReiser MichaReiser deleted the micha/fix-docstring-codeblock-dynamic branch September 27, 2024 07:09
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 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 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 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))
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Oct 7, 2024
## 0.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))

## 0.6.8

### Preview features

- Remove unnecessary parentheses around `match case` clauses ([#13510](astral-sh/ruff#13510))
- Parenthesize overlong `if` guards in `match..case` clauses ([#13513](astral-sh/ruff#13513))
- Detect basic wildcard imports in `ruff analyze graph` ([#13486](astral-sh/ruff#13486))
- \[`pylint`\] Implement `boolean-chained-comparison` (`R1716`) ([#13435](astral-sh/ruff#13435))

### Rule changes

- \[`lake8-simplify`\] Detect `SIM910` when using variadic keyword arguments, i.e., `**kwargs` ([#13503](astral-sh/ruff#13503))
- \[`pyupgrade`\] Avoid false negatives with non-reference shadowed bindings of loop variables (`UP028`) ([#13504](astral-sh/ruff#13504))

### Bug fixes

- Detect tuples bound to variadic positional arguments i.e. `*args` ([#13512](astral-sh/ruff#13512))
- Exit gracefully on broken pipe errors ([#13485](astral-sh/ruff#13485))
- Avoid panic when analyze graph hits broken pipe ([#13484](astral-sh/ruff#13484))

### Performance

- Reuse `BTreeSets` in module resolver ([#13440](astral-sh/ruff#13440))
- Skip traversal for non-compound statements ([#13441](astral-sh/ruff#13441))

## 0.6.7

### Preview features

- Add Python version support to ruff analyze CLI ([#13426](astral-sh/ruff#13426))
- Add `exclude` support to `ruff analyze` ([#13425](astral-sh/ruff#13425))
- Fix parentheses around return type annotations ([#13381](astral-sh/ruff#13381))

### Rule changes

- \[`pycodestyle`\] Fix: Don't autofix if the first line ends in a question mark? (D400) ([#13399](astral-sh/ruff#13399))

### Bug fixes

- Respect `lint.exclude` in ruff check `--add-noqa` ([#13427](astral-sh/ruff#13427))

### Performance

- Avoid tracking module resolver files in Salsa ([#13437](astral-sh/ruff#13437))
- Use `forget` for module resolver database ([#13438](astral-sh/ruff#13438))

## 0.6.6

### Preview features

- \[`refurb`\] Skip `slice-to-remove-prefix-or-suffix` (`FURB188`) when non-trivial slice steps are present ([#13405](astral-sh/ruff#13405))
- Add a subcommand to generate dependency graphs ([#13402](astral-sh/ruff#13402))

### Formatter

- Fix placement of inline parameter comments ([#13379](astral-sh/ruff#13379))

### Server

- Fix off-by one error in the `LineIndex::offset` calculation ([#13407](astral-sh/ruff#13407))

### Bug fixes

- \[`fastapi`\] Respect FastAPI aliases in route definitions ([#13394](astral-sh/ruff#13394))
- \[`pydocstyle`\] Respect word boundaries when detecting function signature in docs ([#13388](astral-sh/ruff#13388))

### Documentation

- Add backlinks to rule overview linter ([#13368](astral-sh/ruff#13368))
- Fix documentation for editor vim plugin ALE ([#13348](astral-sh/ruff#13348))
- Fix rendering of `FURB188` docs ([#13406](astral-sh/ruff#13406))
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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatter Related to the formatter preview Related to preview mode features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doctest dynamic line width is off if examples are indented
2 participants