Skip to content

Commit

Permalink
Build(deps-dev): bump ruff from 0.9.3 to 0.9.4 (#270)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.3 to 0.9.4.
<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.4</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Extend airflow context parameter check for
<code>BaseOperator.execute</code> (<code>AIR302</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15713">#15713</a>)</li>
<li>[<code>airflow</code>] Update <code>AIR302</code> to check for
deprecated context keys (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15144">#15144</a>)</li>
<li>[<code>flake8-bandit</code>] Permit suspicious imports within stub
files (<code>S4</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15822">#15822</a>)</li>
<li>[<code>pylint</code>] Do not trigger <code>PLR6201</code> on empty
collections (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15732">#15732</a>)</li>
<li>[<code>refurb</code>] Do not emit diagnostic when loop variables are
used outside loop body (<code>FURB122</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15757">#15757</a>)</li>
<li>[<code>ruff</code>] Add support for more <code>re</code> patterns
(<code>RUF055</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15764">#15764</a>)</li>
<li>[<code>ruff</code>] Check for shadowed <code>map</code> before
suggesting fix (<code>RUF058</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15790">#15790</a>)</li>
<li>[<code>ruff</code>] Do not emit diagnostic when all arguments to
<code>zip()</code> are variadic (<code>RUF058</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15744">#15744</a>)</li>
<li>[<code>ruff</code>] Parenthesize fix when argument spans multiple
lines for <code>unnecessary-round</code> (<code>RUF057</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15703">#15703</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Preserve quote style in generated code (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15726">#15726</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/15778">#15778</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/15794">#15794</a>)</li>
<li>[<code>flake8-bugbear</code>] Exempt <code>NewType</code> calls
where the original type is immutable (<code>B008</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15765">#15765</a>)</li>
<li>[<code>pylint</code>] Honor banned top-level imports by
<code>TID253</code> in <code>PLC0415</code>. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15628">#15628</a>)</li>
<li>[<code>pyupgrade</code>] Ignore <code>is_typeddict</code> and
<code>TypedDict</code> for <code>deprecated-import</code>
(<code>UP035</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15800">#15800</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Fix formatter warning message for <code>flake8-quotes</code> option
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/15788">#15788</a>)</li>
<li>Implement tab autocomplete for <code>ruff config</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15603">#15603</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Do not emit
<code>unnecessary-map</code> diagnostic when lambda has different arity
(<code>C417</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15802">#15802</a>)</li>
<li>[<code>flake8-comprehensions</code>] Parenthesize
<code>sorted</code> when needed for
<code>unnecessary-call-around-sorted</code> (<code>C413</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15825">#15825</a>)</li>
<li>[<code>pyupgrade</code>] Handle end-of-line comments for
<code>quoted-annotation</code> (<code>UP037</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15824">#15824</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add missing config docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15803">#15803</a>)</li>
<li>Add references to <code>trio.run_process</code> and
<code>anyio.run_process</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15761">#15761</a>)</li>
<li>Use <code>uv init --lib</code> in tutorial (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15718">#15718</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
<li><a
href="https://github.com/Garrett-R"><code>@​Garrett-R</code></a></li>
<li><a
href="https://github.com/InSyncWithFoo"><code>@​InSyncWithFoo</code></a></li>
<li><a
href="https://github.com/JelleZijlstra"><code>@​JelleZijlstra</code></a></li>
<li><a href="https://github.com/Lee-W"><code>@​Lee-W</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li>
<li><a
href="https://github.com/dcreager"><code>@​dcreager</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@​dylwil3</code></a></li>
</ul>
<!-- 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.4</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Extend airflow context parameter check for
<code>BaseOperator.execute</code> (<code>AIR302</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15713">#15713</a>)</li>
<li>[<code>airflow</code>] Update <code>AIR302</code> to check for
deprecated context keys (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15144">#15144</a>)</li>
<li>[<code>flake8-bandit</code>] Permit suspicious imports within stub
files (<code>S4</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15822">#15822</a>)</li>
<li>[<code>pylint</code>] Do not trigger <code>PLR6201</code> on empty
collections (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15732">#15732</a>)</li>
<li>[<code>refurb</code>] Do not emit diagnostic when loop variables are
used outside loop body (<code>FURB122</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15757">#15757</a>)</li>
<li>[<code>ruff</code>] Add support for more <code>re</code> patterns
(<code>RUF055</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15764">#15764</a>)</li>
<li>[<code>ruff</code>] Check for shadowed <code>map</code> before
suggesting fix (<code>RUF058</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15790">#15790</a>)</li>
<li>[<code>ruff</code>] Do not emit diagnostic when all arguments to
<code>zip()</code> are variadic (<code>RUF058</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15744">#15744</a>)</li>
<li>[<code>ruff</code>] Parenthesize fix when argument spans multiple
lines for <code>unnecessary-round</code> (<code>RUF057</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15703">#15703</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Preserve quote style in generated code (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15726">#15726</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/15778">#15778</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/15794">#15794</a>)</li>
<li>[<code>flake8-bugbear</code>] Exempt <code>NewType</code> calls
where the original type is immutable (<code>B008</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15765">#15765</a>)</li>
<li>[<code>pylint</code>] Honor banned top-level imports by
<code>TID253</code> in <code>PLC0415</code>. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15628">#15628</a>)</li>
<li>[<code>pyupgrade</code>] Ignore <code>is_typeddict</code> and
<code>TypedDict</code> for <code>deprecated-import</code>
(<code>UP035</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15800">#15800</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Fix formatter warning message for <code>flake8-quotes</code> option
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/15788">#15788</a>)</li>
<li>Implement tab autocomplete for <code>ruff config</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15603">#15603</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Do not emit
<code>unnecessary-map</code> diagnostic when lambda has different arity
(<code>C417</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15802">#15802</a>)</li>
<li>[<code>flake8-comprehensions</code>] Parenthesize
<code>sorted</code> when needed for
<code>unnecessary-call-around-sorted</code> (<code>C413</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15825">#15825</a>)</li>
<li>[<code>pyupgrade</code>] Handle end-of-line comments for
<code>quoted-annotation</code> (<code>UP037</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15824">#15824</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add missing config docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15803">#15803</a>)</li>
<li>Add references to <code>trio.run_process</code> and
<code>anyio.run_process</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15761">#15761</a>)</li>
<li>Use <code>uv init --lib</code> in tutorial (<a
href="https://redirect.github.com/astral-sh/ruff/pull/15718">#15718</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/854ab030782d205445365c52815a11f5c7c07454"><code>854ab03</code></a>
Bump version to 0.9.4 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15831">#15831</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b0b8b062410afdee0c9948a23fc99de8e5a406b6"><code>b0b8b06</code></a>
Remove semicolon after TypeScript interface definition (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15827">#15827</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/451f251a310b8a621e20df574fec06d22eba0beb"><code>451f251</code></a>
[red-knot] Clarify behavior when redeclaring base class attributes (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15826">#15826</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/13cf3e65f1d1bae6844a8e033346825c459dce3e"><code>13cf3e6</code></a>
[<code>flake8-comprehensions</code>] Parenthesize <code>sorted</code>
when needed for `unnecessary-...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/56f956a238d83c9b49c5fdc08d5bd01aa81a3c03"><code>56f956a</code></a>
[<code>pyupgrade</code>] Handle end-of-line comments for
<code>quoted-annotation</code> (<code>UP037</code>) (...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7a10a40b0d91216488b2b61ed54c9400c0c157fd"><code>7a10a40</code></a>
[<code>flake8-bandit</code>] Permit suspicious imports within stub files
(<code>S4</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15822">#15822</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3125332ec1bc86494feef57c6a6c64d3591a4831"><code>3125332</code></a>
[red-knot] Format mdtest snippets with the latest version of black (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15819">#15819</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/15d886a50213dcd4013db028eeef15a60d182f98"><code>15d886a</code></a>
[red-knot] Consider all definitions after terminal statements
unreachable (<a
href="https://redirect.github.com/astral-sh/ruff/issues/1">#1</a>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e1c9d10863c8c0255776da5fc32b43f5b3c07ff1"><code>e1c9d10</code></a>
[<code>flake8-comprehensions</code>] Do not emit
<code>unnecessary-map</code> diagnostic when lambd...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/23c98849fcb4427bc6d8bdb8accd914c197046e1"><code>23c9884</code></a>
Preserve quotes in generated f-strings (<a
href="https://redirect.github.com/astral-sh/ruff/issues/15794">#15794</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.9.3...0.9.4">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.3&new-version=0.9.4)](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>
  • Loading branch information
github-actions[bot] authored Jan 31, 2025
2 parents ba21391 + 9ec9bf0 commit e2c580a
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e2c580a

Please sign in to comment.