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

pip prod(deps): bump ruff from 0.9.4 to 0.9.5 #3863

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 7, 2025

Bumps ruff from 0.9.4 to 0.9.5.

Release notes

Sourced from ruff's releases.

0.9.5

Release Notes

Preview features

  • Recognize all symbols named TYPE_CHECKING for in_type_checking_block (#15719)
  • [flake8-comprehensions] Handle builtins at top of file correctly for unnecessary-dict-comprehension-for-iterable (C420) (#15837)
  • [flake8-logging] .exception() and exc_info= outside exception handlers (LOG004, LOG014) (#15799)
  • [flake8-pyi] Fix incorrect behaviour of custom-typevar-return-type preview-mode autofix if typing was already imported (PYI019) (#15853)
  • [flake8-pyi] Fix more complex cases (PYI019) (#15821)
  • [flake8-pyi] Make PYI019 autofixable for .py files in preview mode as well as stubs (#15889)
  • [flake8-pyi] Remove type parameter correctly when it is the last (PYI019) (#15854)
  • [pylint] Fix missing parens in unsafe fix for unnecessary-dunder-call (PLC2801) (#15762)
  • [pyupgrade] Better messages and diagnostic range (UP015) (#15872)
  • [pyupgrade] Rename private type parameters in PEP 695 generics (UP049) (#15862)
  • [refurb] Also report non-name expressions (FURB169) (#15905)
  • [refurb] Mark fix as unsafe if there are comments (FURB171) (#15832)
  • [ruff] Classes with mixed type variable style (RUF053) (#15841)
  • [airflow] BashOperator has been moved to airflow.providers.standard.operators.bash.BashOperator (AIR302) (#15922)
  • [flake8-pyi] Add autofix for unused-private-type-var (PYI018) (#15999)
  • [flake8-pyi] Significantly improve accuracy of PYI019 if preview mode is enabled (#15888)

Rule changes

  • Preserve triple quotes and prefixes for strings (#15818)
  • [flake8-comprehensions] Skip when TypeError present from too many (kw)args for C410,C411, and C418 (#15838)
  • [flake8-pyi] Rename PYI019 and improve its diagnostic message (#15885)
  • [pep8-naming] Ignore @override methods (N803) (#15954)
  • [pyupgrade] Reuse replacement logic from UP046 and UP047 to preserve more comments (UP040) (#15840)
  • [ruff] Analyze deferred annotations before enforcing mutable-(data)class-default and function-call-in-dataclass-default-argument (RUF008,RUF009,RUF012) (#15921)
  • [pycodestyle] Exempt sys.path += ... calls (E402) (#15980)

Configuration

  • Config error only when flake8-import-conventions alias conflicts with isort.required-imports bound name (#15918)
  • Workaround Even Better TOML crash related to allOf (#15992)

Bug fixes

  • [flake8-comprehensions] Unnecessary list comprehension (rewrite as a set comprehension) (C403) - Handle extraneous parentheses around list comprehension (#15877)
  • [flake8-comprehensions] Handle trailing comma in fixes for unnecessary-generator-list/set (C400,C401) (#15929)
  • [flake8-pyi] Fix several correctness issues with custom-type-var-return-type (PYI019) (#15851)
  • [pep8-naming] Consider any number of leading underscore for N801 (#15988)
  • [pyflakes] Visit forward annotations in TypeAliasType as types (F401) (#15829)
  • [pylint] Correct min/max auto-fix and suggestion for (PL1730) (#15930)
  • [refurb] Handle unparenthesized tuples correctly (FURB122, FURB142) (#15953)
  • [refurb] Avoid None | None as well as better detection and fix (FURB168) (#15779)

Documentation

... (truncated)

Changelog

Sourced from ruff's changelog.

0.9.5

Preview features

  • Recognize all symbols named TYPE_CHECKING for in_type_checking_block (#15719)
  • [flake8-comprehensions] Handle builtins at top of file correctly for unnecessary-dict-comprehension-for-iterable (C420) (#15837)
  • [flake8-logging] .exception() and exc_info= outside exception handlers (LOG004, LOG014) (#15799)
  • [flake8-pyi] Fix incorrect behaviour of custom-typevar-return-type preview-mode autofix if typing was already imported (PYI019) (#15853)
  • [flake8-pyi] Fix more complex cases (PYI019) (#15821)
  • [flake8-pyi] Make PYI019 autofixable for .py files in preview mode as well as stubs (#15889)
  • [flake8-pyi] Remove type parameter correctly when it is the last (PYI019) (#15854)
  • [pylint] Fix missing parens in unsafe fix for unnecessary-dunder-call (PLC2801) (#15762)
  • [pyupgrade] Better messages and diagnostic range (UP015) (#15872)
  • [pyupgrade] Rename private type parameters in PEP 695 generics (UP049) (#15862)
  • [refurb] Also report non-name expressions (FURB169) (#15905)
  • [refurb] Mark fix as unsafe if there are comments (FURB171) (#15832)
  • [ruff] Classes with mixed type variable style (RUF053) (#15841)
  • [airflow] BashOperator has been moved to airflow.providers.standard.operators.bash.BashOperator (AIR302) (#15922)
  • [flake8-pyi] Add autofix for unused-private-type-var (PYI018) (#15999)
  • [flake8-pyi] Significantly improve accuracy of PYI019 if preview mode is enabled (#15888)

Rule changes

  • Preserve triple quotes and prefixes for strings (#15818)
  • [flake8-comprehensions] Skip when TypeError present from too many (kw)args for C410,C411, and C418 (#15838)
  • [flake8-pyi] Rename PYI019 and improve its diagnostic message (#15885)
  • [pep8-naming] Ignore @override methods (N803) (#15954)
  • [pyupgrade] Reuse replacement logic from UP046 and UP047 to preserve more comments (UP040) (#15840)
  • [ruff] Analyze deferred annotations before enforcing mutable-(data)class-default and function-call-in-dataclass-default-argument (RUF008,RUF009,RUF012) (#15921)
  • [pycodestyle] Exempt sys.path += ... calls (E402) (#15980)

Configuration

  • Config error only when flake8-import-conventions alias conflicts with isort.required-imports bound name (#15918)
  • Workaround Even Better TOML crash related to allOf (#15992)

Bug fixes

  • [flake8-comprehensions] Unnecessary list comprehension (rewrite as a set comprehension) (C403) - Handle extraneous parentheses around list comprehension (#15877)
  • [flake8-comprehensions] Handle trailing comma in fixes for unnecessary-generator-list/set (C400,C401) (#15929)
  • [flake8-pyi] Fix several correctness issues with custom-type-var-return-type (PYI019) (#15851)
  • [pep8-naming] Consider any number of leading underscore for N801 (#15988)
  • [pyflakes] Visit forward annotations in TypeAliasType as types (F401) (#15829)
  • [pylint] Correct min/max auto-fix and suggestion for (PL1730) (#15930)
  • [refurb] Handle unparenthesized tuples correctly (FURB122, FURB142) (#15953)
  • [refurb] Avoid None | None as well as better detection and fix (FURB168) (#15779)

Documentation

  • Add deprecation warning for ruff-lsp related settings (#15850)

... (truncated)

Commits
  • 10d3e64 Bump version to 0.9.5 (#16002)
  • 84ceddc [ruff] Classes with mixed type variable style (RUF053) (#15841)
  • ba2f0e9 [flake8-pyi] Add autofix for unused-private-type-var (PYI018) (#15999)
  • 18b497a [red-knot] Fixup a couple of nits in the red_knot_test README (#15996)
  • 7cac0da Workaround Even Better TOML crash related to allOf (#15992)
  • b66cc94 Add deprecation warning for ruff-lsp related settings (#15850)
  • e345307 [red-knot] Fix diagnostic range for non-iterable unpacking assignments (#15994)
  • 5588c75 [red-knot] Fix relative imports in src.root (#15990)
  • 9d2105b add instance variable examples to RUF012 (#15982)
  • 8fcac0f Recognize all symbols named TYPE_CHECKING for in_type_checking_block (#15...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.9.4...0.9.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 7, 2025
Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.27%. Comparing base (f1e8d25) to head (8408a9d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3863   +/-   ##
=======================================
  Coverage   91.27%   91.27%           
=======================================
  Files         461      461           
  Lines       57685    57685           
  Branches     5573     5573           
=======================================
  Hits        52654    52654           
  Misses       3608     3608           
  Partials     1423     1423           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@superlopuh superlopuh closed this Feb 7, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 7, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@superlopuh superlopuh reopened this Feb 7, 2025
@superlopuh superlopuh merged commit 43d5863 into main Feb 7, 2025
16 checks passed
@superlopuh superlopuh deleted the dependabot/pip/ruff-0.9.5 branch February 7, 2025 07:49
oluwatimilehin pushed a commit to oluwatimilehin/xdsl that referenced this pull request Feb 13, 2025
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.4 to 0.9.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.9.5</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Recognize all symbols named <code>TYPE_CHECKING</code> for
<code>in_type_checking_block</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15719">#15719</a>)</li>
<li>[<code>flake8-comprehensions</code>] Handle builtins at top of file
correctly for <code>unnecessary-dict-comprehension-for-iterable</code>
(<code>C420</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15837">#15837</a>)</li>
<li>[<code>flake8-logging</code>] <code>.exception()</code> and
<code>exc_info=</code> outside exception handlers (<code>LOG004</code>,
<code>LOG014</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15799">#15799</a>)</li>
<li>[<code>flake8-pyi</code>] Fix incorrect behaviour of
<code>custom-typevar-return-type</code> preview-mode autofix if
<code>typing</code> was already imported (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15853">#15853</a>)</li>
<li>[<code>flake8-pyi</code>] Fix more complex cases
(<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15821">#15821</a>)</li>
<li>[<code>flake8-pyi</code>] Make <code>PYI019</code> autofixable for
<code>.py</code> files in preview mode as well as stubs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15889">#15889</a>)</li>
<li>[<code>flake8-pyi</code>] Remove type parameter correctly when it is
the last (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15854">#15854</a>)</li>
<li>[<code>pylint</code>] Fix missing parens in unsafe fix for
<code>unnecessary-dunder-call</code> (<code>PLC2801</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15762">#15762</a>)</li>
<li>[<code>pyupgrade</code>] Better messages and diagnostic range
(<code>UP015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15872">#15872</a>)</li>
<li>[<code>pyupgrade</code>] Rename private type parameters in PEP 695
generics (<code>UP049</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15862">#15862</a>)</li>
<li>[<code>refurb</code>] Also report non-name expressions
(<code>FURB169</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15905">#15905</a>)</li>
<li>[<code>refurb</code>] Mark fix as unsafe if there are comments
(<code>FURB171</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15832">#15832</a>)</li>
<li>[<code>ruff</code>] Classes with mixed type variable style
(<code>RUF053</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15841">#15841</a>)</li>
<li>[<code>airflow</code>] <code>BashOperator</code> has been moved to
<code>airflow.providers.standard.operators.bash.BashOperator</code>
(<code>AIR302</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15922">#15922</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for unused-private-type-var
(<code>PYI018</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15999">#15999</a>)</li>
<li>[<code>flake8-pyi</code>] Significantly improve accuracy of
<code>PYI019</code> if preview mode is enabled (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15888">#15888</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Preserve triple quotes and prefixes for strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15818">#15818</a>)</li>
<li>[<code>flake8-comprehensions</code>] Skip when
<code>TypeError</code> present from too many (kw)args for
<code>C410</code>,<code>C411</code>, and <code>C418</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15838">#15838</a>)</li>
<li>[<code>flake8-pyi</code>] Rename <code>PYI019</code> and improve its
diagnostic message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15885">#15885</a>)</li>
<li>[<code>pep8-naming</code>] Ignore <code>@OverRide</code> methods
(<code>N803</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15954">#15954</a>)</li>
<li>[<code>pyupgrade</code>] Reuse replacement logic from
<code>UP046</code> and <code>UP047</code> to preserve more comments
(<code>UP040</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15840">#15840</a>)</li>
<li>[<code>ruff</code>] Analyze deferred annotations before enforcing
<code>mutable-(data)class-default</code> and
<code>function-call-in-dataclass-default-argument</code>
(<code>RUF008</code>,<code>RUF009</code>,<code>RUF012</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15921">#15921</a>)</li>
<li>[<code>pycodestyle</code>] Exempt <code>sys.path += ...</code> calls
(<code>E402</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15980">#15980</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Config error only when <code>flake8-import-conventions</code> alias
conflicts with <code>isort.required-imports</code> bound name (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15918">#15918</a>)</li>
<li>Workaround Even Better TOML crash related to <code>allOf</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15992">#15992</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Unnecessary <code>list</code>
comprehension (rewrite as a <code>set</code> comprehension)
(<code>C403</code>) - Handle extraneous parentheses around list
comprehension (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15877">#15877</a>)</li>
<li>[<code>flake8-comprehensions</code>] Handle trailing comma in fixes
for <code>unnecessary-generator-list/set</code>
(<code>C400</code>,<code>C401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15929">#15929</a>)</li>
<li>[<code>flake8-pyi</code>] Fix several correctness issues with
<code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15851">#15851</a>)</li>
<li>[<code>pep8-naming</code>] Consider any number of leading underscore
for <code>N801</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15988">#15988</a>)</li>
<li>[<code>pyflakes</code>] Visit forward annotations in
<code>TypeAliasType</code> as types (<code>F401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15829">#15829</a>)</li>
<li>[<code>pylint</code>] Correct min/max auto-fix and suggestion for
(<code>PL1730</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15930">#15930</a>)</li>
<li>[<code>refurb</code>] Handle unparenthesized tuples correctly
(<code>FURB122</code>, <code>FURB142</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15953">#15953</a>)</li>
<li>[<code>refurb</code>] Avoid <code>None | None</code> as well as
better detection and fix (<code>FURB168</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15779">#15779</a>)</li>
</ul>
<h3>Documentation</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.9.5</h2>
<h3>Preview features</h3>
<ul>
<li>Recognize all symbols named <code>TYPE_CHECKING</code> for
<code>in_type_checking_block</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15719">#15719</a>)</li>
<li>[<code>flake8-comprehensions</code>] Handle builtins at top of file
correctly for <code>unnecessary-dict-comprehension-for-iterable</code>
(<code>C420</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15837">#15837</a>)</li>
<li>[<code>flake8-logging</code>] <code>.exception()</code> and
<code>exc_info=</code> outside exception handlers (<code>LOG004</code>,
<code>LOG014</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15799">#15799</a>)</li>
<li>[<code>flake8-pyi</code>] Fix incorrect behaviour of
<code>custom-typevar-return-type</code> preview-mode autofix if
<code>typing</code> was already imported (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15853">#15853</a>)</li>
<li>[<code>flake8-pyi</code>] Fix more complex cases
(<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15821">#15821</a>)</li>
<li>[<code>flake8-pyi</code>] Make <code>PYI019</code> autofixable for
<code>.py</code> files in preview mode as well as stubs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15889">#15889</a>)</li>
<li>[<code>flake8-pyi</code>] Remove type parameter correctly when it is
the last (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15854">#15854</a>)</li>
<li>[<code>pylint</code>] Fix missing parens in unsafe fix for
<code>unnecessary-dunder-call</code> (<code>PLC2801</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15762">#15762</a>)</li>
<li>[<code>pyupgrade</code>] Better messages and diagnostic range
(<code>UP015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15872">#15872</a>)</li>
<li>[<code>pyupgrade</code>] Rename private type parameters in PEP 695
generics (<code>UP049</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15862">#15862</a>)</li>
<li>[<code>refurb</code>] Also report non-name expressions
(<code>FURB169</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15905">#15905</a>)</li>
<li>[<code>refurb</code>] Mark fix as unsafe if there are comments
(<code>FURB171</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15832">#15832</a>)</li>
<li>[<code>ruff</code>] Classes with mixed type variable style
(<code>RUF053</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15841">#15841</a>)</li>
<li>[<code>airflow</code>] <code>BashOperator</code> has been moved to
<code>airflow.providers.standard.operators.bash.BashOperator</code>
(<code>AIR302</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15922">#15922</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for unused-private-type-var
(<code>PYI018</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15999">#15999</a>)</li>
<li>[<code>flake8-pyi</code>] Significantly improve accuracy of
<code>PYI019</code> if preview mode is enabled (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15888">#15888</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Preserve triple quotes and prefixes for strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15818">#15818</a>)</li>
<li>[<code>flake8-comprehensions</code>] Skip when
<code>TypeError</code> present from too many (kw)args for
<code>C410</code>,<code>C411</code>, and <code>C418</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15838">#15838</a>)</li>
<li>[<code>flake8-pyi</code>] Rename <code>PYI019</code> and improve its
diagnostic message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15885">#15885</a>)</li>
<li>[<code>pep8-naming</code>] Ignore <code>@OverRide</code> methods
(<code>N803</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15954">#15954</a>)</li>
<li>[<code>pyupgrade</code>] Reuse replacement logic from
<code>UP046</code> and <code>UP047</code> to preserve more comments
(<code>UP040</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15840">#15840</a>)</li>
<li>[<code>ruff</code>] Analyze deferred annotations before enforcing
<code>mutable-(data)class-default</code> and
<code>function-call-in-dataclass-default-argument</code>
(<code>RUF008</code>,<code>RUF009</code>,<code>RUF012</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15921">#15921</a>)</li>
<li>[<code>pycodestyle</code>] Exempt <code>sys.path += ...</code> calls
(<code>E402</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15980">#15980</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Config error only when <code>flake8-import-conventions</code> alias
conflicts with <code>isort.required-imports</code> bound name (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15918">#15918</a>)</li>
<li>Workaround Even Better TOML crash related to <code>allOf</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15992">#15992</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Unnecessary <code>list</code>
comprehension (rewrite as a <code>set</code> comprehension)
(<code>C403</code>) - Handle extraneous parentheses around list
comprehension (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15877">#15877</a>)</li>
<li>[<code>flake8-comprehensions</code>] Handle trailing comma in fixes
for <code>unnecessary-generator-list/set</code>
(<code>C400</code>,<code>C401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15929">#15929</a>)</li>
<li>[<code>flake8-pyi</code>] Fix several correctness issues with
<code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15851">#15851</a>)</li>
<li>[<code>pep8-naming</code>] Consider any number of leading underscore
for <code>N801</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15988">#15988</a>)</li>
<li>[<code>pyflakes</code>] Visit forward annotations in
<code>TypeAliasType</code> as types (<code>F401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15829">#15829</a>)</li>
<li>[<code>pylint</code>] Correct min/max auto-fix and suggestion for
(<code>PL1730</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15930">#15930</a>)</li>
<li>[<code>refurb</code>] Handle unparenthesized tuples correctly
(<code>FURB122</code>, <code>FURB142</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15953">#15953</a>)</li>
<li>[<code>refurb</code>] Avoid <code>None | None</code> as well as
better detection and fix (<code>FURB168</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15779">#15779</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add deprecation warning for <code>ruff-lsp</code> related settings
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/15850">#15850</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/10d3e64ccdf69d90c3252a15b3408a4238427792"><code>10d3e64</code></a>
Bump version to 0.9.5 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/16002">#16002</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/84ceddcbd96b454ac6ee5f77641bf84251b97e19"><code>84ceddc</code></a>
[<code>ruff</code>] Classes with mixed type variable style
(<code>RUF053</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15841">#15841</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ba2f0e998d09342dc9b1ad23864508eafc3dfb67"><code>ba2f0e9</code></a>
[flake8-pyi] Add autofix for unused-private-type-var (PYI018) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15999">#15999</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/18b497a913e19a10a752c618c9791bcb19da2c96"><code>18b497a</code></a>
[red-knot] Fixup a couple of nits in the <code>red_knot_test</code>
README (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15996">#15996</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7cac0da44db2f008c41b67c1dce36ce417336873"><code>7cac0da</code></a>
Workaround Even Better TOML crash related to <code>allOf</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15992">#15992</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b66cc94f9b21e806cd43f297a022c334f173486f"><code>b66cc94</code></a>
Add deprecation warning for <code>ruff-lsp</code> related settings (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15850">#15850</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e345307260569be55a5a6c512b2bfb1cca7f2f7a"><code>e345307</code></a>
[red-knot] Fix diagnostic range for non-iterable unpacking assignments
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/15994">#15994</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5588c75d65e8edcedcead24eec192f4a3a8acba8"><code>5588c75</code></a>
[red-knot] Fix relative imports in <code>src.root</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15990">#15990</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9d2105b863e4043504e941fe77a533caadc3c3f7"><code>9d2105b</code></a>
add instance variable examples to RUF012 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15982">#15982</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8fcac0ff365607d497cf94a2a0a4b53cc9d6f39d"><code>8fcac0f</code></a>
Recognize all symbols named <code>TYPE_CHECKING</code> for
<code>in_type_checking_block</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15">#15</a>...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.9.4...0.9.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.9.4&new-version=0.9.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: superlopuh <superlopuh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants