Commits
- Commit:
43e6ceeb997d5c33744f6c150ae6524f1166764e
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Date:
Release 0.22.2
- Commit:
b96357d805aff9883e0e4a25851921225c706114
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
attempt to fix windows build with python 3.13 (#1373)
- Commit:
65b5802cc15177df519d9697e68e0ad167a7f359
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Date:
attempt to fix windows build with python 3.13
- Commit:
0df66eae92f910b3a32b9e78f5f06b4d118ff32a
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.8 to 0.6.9 (#1371)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.8 to 0.6.9.
<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.6.9</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Fix codeblock dynamic line length calculation for indented docstring
examples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13523">#13523</a>)</li>
<li>[<code>refurb</code>] Mark <code>FURB118</code> fix as unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13613">#13613</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pydocstyle</code>] Don't raise <code>D208</code> when last
line is non-empty (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13372">#13372</a>)</li>
<li>[<code>pylint</code>] Preserve trivia (i.e. comments) in
<code>PLR5501</code> autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13573">#13573</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>[<code>pyflakes</code>] Add <code>allow-unused-imports</code>
setting for <code>unused-import</code> rule (<code>F401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13601">#13601</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Support ruff discovery in pip build environments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13591">#13591</a>)</li>
<li>[<code>flake8-bugbear</code>] Avoid short circuiting
<code>B017</code> for multiple context managers (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13609">#13609</a>)</li>
<li>[<code>pylint</code>] Do not offer an invalid fix for
<code>PLR1716</code> when the comparisons contain parenthesis (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13527">#13527</a>)</li>
<li>[<code>pyupgrade</code>] Fix <code>UP043</code> to apply to
<code>collections.abc.Generator</code> and
<code>collections.abc.AsyncGenerator</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13611">#13611</a>)</li>
<li>[<code>refurb</code>] Fix handling of slices in tuples for
<code>FURB118</code>, e.g., <code>x[:, 1]</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13518">#13518</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update GitHub Action link to <code>astral-sh/ruff-action</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13551">#13551</a>)</li>
</ul>
<h2>Install ruff 0.6.9</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c "irm
https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.ps1
| iex"
</code></pre>
<h2>Download ruff 0.6.9</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-pc-windows-msvc.zip">ruff-aarch64-pc-windows-msvc.zip</a></td>
<td>ARM64 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- 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.6.9</h2>
<h3>Preview features</h3>
<ul>
<li>Fix codeblock dynamic line length calculation for indented docstring
examples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13523">#13523</a>)</li>
<li>[<code>refurb</code>] Mark <code>FURB118</code> fix as unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13613">#13613</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pydocstyle</code>] Don't raise <code>D208</code> when last
line is non-empty (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13372">#13372</a>)</li>
<li>[<code>pylint</code>] Preserve trivia (i.e. comments) in
<code>PLR5501</code> autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13573">#13573</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>[<code>pyflakes</code>] Add <code>allow-unused-imports</code>
setting for <code>unused-import</code> rule (<code>F401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13601">#13601</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Support ruff discovery in pip build environments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13591">#13591</a>)</li>
<li>[<code>flake8-bugbear</code>] Avoid short circuiting
<code>B017</code> for multiple context managers (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13609">#13609</a>)</li>
<li>[<code>pylint</code>] Do not offer an invalid fix for
<code>PLR1716</code> when the comparisons contain parenthesis (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13527">#13527</a>)</li>
<li>[<code>pyupgrade</code>] Fix <code>UP043</code> to apply to
<code>collections.abc.Generator</code> and
<code>collections.abc.AsyncGenerator</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13611">#13611</a>)</li>
<li>[<code>refurb</code>] Fix handling of slices in tuples for
<code>FURB118</code>, e.g., <code>x[:, 1]</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13518">#13518</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update GitHub Action link to <code>astral-sh/ruff-action</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13551">#13551</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/975be9c1c6cc8f8f4e52bdad8123d151192c7123"><code>975be9c</code></a>
Bump version to 0.6.9 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13624">#13624</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/99e4566fce9faf1c66ca3dafd6216be3976dc913"><code>99e4566</code></a>
Mark <code>FURB118</code> fix as unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13613">#13613</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7ad07c2c5d9208ad55b55eb0e6124c2d8a07c065"><code>7ad07c2</code></a>
Add <code>allow-unused-imports</code> setting for
<code>unused-import</code> rule (<code>F401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13601">#13601</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4aefe523938f7176be0bcaa03b6f126c8ae783fb"><code>4aefe52</code></a>
Support ruff discovery in pip build environments (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13591">#13591</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cc1f766622bd27c24e47362503f44f8545710c6f"><code>cc1f766</code></a>
Preserve trivia (i.e. comments) in PLR5501 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13573">#13573</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fdd0a22c03ddecea7e8b870b6d7a007210ee3d27"><code>fdd0a22</code></a>
Move to maintained mirror of prettier (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13592">#13592</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3728d5b3a2ba1d97a1e6cbbe719b5960ca8ca53c"><code>3728d5b</code></a>
[<code>pyupgrade</code>] Fix UP043 to apply to
<code>collections.abc.Generator</code> and `collecti...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7e3894f5b3573d77b0000bbddf0293fbbb5dc986"><code>7e3894f</code></a>
Avoid short circuiting <code>B017</code> for multiple context managers
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/13609">#13609</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c3b40da0d2dd3f6481d663c9a325a8231cae2128"><code>c3b40da</code></a>
Use backticks for code in red-knot messages (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13599">#13599</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ef45185dbc9666aee8877a54e3fe3539bb9a7051"><code>ef45185</code></a>
Allow users to provide custom diagnostic messages when unwrapping calls
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/13597">#13597</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.8...0.6.9">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.6.8&new-version=0.6.9)](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>
- Commit:
64ec3f9df30b8c1e6e1976a125c866e67f114ef5
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.8 to 0.6.9
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.8 to 0.6.9.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.8...0.6.9)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
0040fcbf3d45a13f97375a71608bf6e7db48cccd
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.7 to 0.6.8 (#1370)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.7 to 0.6.8.
<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.6.8</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Remove unnecessary parentheses around <code>match case</code>
clauses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13510">#13510</a>)</li>
<li>Parenthesize overlong <code>if</code> guards in
<code>match..case</code> clauses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13513">#13513</a>)</li>
<li>Detect basic wildcard imports in <code>ruff analyze graph</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13486">#13486</a>)</li>
<li>[<code>pylint</code>] Implement
<code>boolean-chained-comparison</code> (<code>R1716</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13435">#13435</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>lake8-simplify</code>] Detect <code>SIM910</code> when using
variadic keyword arguments, i.e., <code>**kwargs</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13503">#13503</a>)</li>
<li>[<code>pyupgrade</code>] Avoid false negatives with non-reference
shadowed bindings of loop variables (<code>UP028</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13504">#13504</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Detect tuples bound to variadic positional arguments i.e.
<code>*args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13512">#13512</a>)</li>
<li>Exit gracefully on broken pipe errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13485">#13485</a>)</li>
<li>Avoid panic when analyze graph hits broken pipe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13484">#13484</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Reuse <code>BTreeSets</code> in module resolver (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13440">#13440</a>)</li>
<li>Skip traversal for non-compound statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13441">#13441</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a
href="https://github.com/TomerBin"><code>@TomerBin</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li>
<li><a
href="https://github.com/diceroll123"><code>@diceroll123</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li>
<li><a href="https://github.com/haarisr"><code>@haarisr</code></a></li>
<li><a
href="https://github.com/renovate"><code>@renovate</code></a></li>
<li><a
href="https://github.com/sbrugman"><code>@sbrugman</code></a></li>
<li><a
href="https://github.com/vincevannoort"><code>@vincevannoort</code></a></li>
<li><a href="https://github.com/zanieb"><code>@zanieb</code></a></li>
</ul>
<h2>Install ruff 0.6.8</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.8/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</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.6.8</h2>
<h3>Preview features</h3>
<ul>
<li>Remove unnecessary parentheses around <code>match case</code>
clauses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13510">#13510</a>)</li>
<li>Parenthesize overlong <code>if</code> guards in
<code>match..case</code> clauses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13513">#13513</a>)</li>
<li>Detect basic wildcard imports in <code>ruff analyze graph</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13486">#13486</a>)</li>
<li>[<code>pylint</code>] Implement
<code>boolean-chained-comparison</code> (<code>R1716</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13435">#13435</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>lake8-simplify</code>] Detect <code>SIM910</code> when using
variadic keyword arguments, i.e., <code>**kwargs</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13503">#13503</a>)</li>
<li>[<code>pyupgrade</code>] Avoid false negatives with non-reference
shadowed bindings of loop variables (<code>UP028</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13504">#13504</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Detect tuples bound to variadic positional arguments i.e.
<code>*args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13512">#13512</a>)</li>
<li>Exit gracefully on broken pipe errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13485">#13485</a>)</li>
<li>Avoid panic when analyze graph hits broken pipe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13484">#13484</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Reuse <code>BTreeSets</code> in module resolver (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13440">#13440</a>)</li>
<li>Skip traversal for non-compound statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13441">#13441</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/ae39ce56c0cc1f8ac15f980c0b457b16b67c1f2a"><code>ae39ce5</code></a>
Bump version to 0.6.8 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13522">#13522</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ff2d214e112e7c1183a818cccb8d66b014eee0e7"><code>ff2d214</code></a>
Don't skip over imports and other nodes containing nested statements in
impor...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9442cd8fae338e869a0be92b3b17b8dda3562238"><code>9442cd8</code></a>
Parenthesize <code>match..case</code> <code>if</code> guards (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13513">#13513</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8012707348aac296124542b5e5217b1ec833fb7b"><code>8012707</code></a>
Align formatting of patterns in match-cases with expression formatting
in cla...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d7ffe460546164e57c66daee51f53bdcb811eeaf"><code>d7ffe46</code></a>
Disable the <code>typeset</code> plugin (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13517">#13517</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7c83af419cc04b07e3bafaff8c233a5ffa447daf"><code>7c83af4</code></a>
red-knot: Implement the <code>not</code> operator for all
<code>Type</code> variants (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13432">#13432</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/bbb044ebda2890061dba6ec53d3d55e0932041ba"><code>bbb044e</code></a>
Detect tuples bound to variadic positional arguments i.e.
<code>*args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13512">#13512</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/481065238b7f90fe756aa6bd989cf9d3973d4654"><code>4810652</code></a>
Avoid UP028 false negatives with non-reference shadowed bindings of loop
vari...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/11f06e0d5524ada77ee6faa5304d25319031f115"><code>11f06e0</code></a>
Detect SIM910 when using variadic keyword arguments, i.e.,
<code>**kwargs</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13503">#13503</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f27a8b8c7abdd06c6b24b86791db31aa4295a6c7"><code>f27a8b8</code></a>
[internal] <code>ComparableExpr</code> (f)strings and bytes made
invariant under concate...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.7...0.6.8">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.6.7&new-version=0.6.8)](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>
- Commit:
41e8184616ffb484723b9aae0c308e26a2eb78e2
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.7 to 0.6.8
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.7...0.6.8)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
be5d53457f7ea6d8b71c3b3d276ea45a70b33a6a
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.5 to 0.6.7 (#1367)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.5 to 0.6.7.
<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.6.7</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Add Python version support to ruff analyze CLI (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13426">#13426</a>)</li>
<li>Add <code>exclude</code> support to <code>ruff analyze</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13425">#13425</a>)</li>
<li>Fix parentheses around return type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13381">#13381</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Fix: Don't autofix if the first line ends
in a question mark? (D400) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13399">#13399</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Respect <code>lint.exclude</code> in ruff check
<code>--add-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13427">#13427</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid tracking module resolver files in Salsa (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13437">#13437</a>)</li>
<li>Use <code>forget</code> for module resolver database (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13438">#13438</a>)</li>
</ul>
<h2>Install ruff 0.6.7</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c "irm
https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-installer.ps1
| iex"
</code></pre>
<h2>Download ruff 0.6.7</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-pc-windows-msvc.zip">ruff-aarch64-pc-windows-msvc.zip</a></td>
<td>ARM64 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-pc-windows-msvc.zip">ruff-i686-pc-windows-msvc.zip</a></td>
<td>x86 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-pc-windows-msvc.zip">ruff-x86_64-pc-windows-msvc.zip</a></td>
<td>x64 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-unknown-linux-gnu.tar.gz">ruff-aarch64-unknown-linux-gnu.tar.gz</a></td>
<td>ARM64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-unknown-linux-gnu.tar.gz">ruff-i686-unknown-linux-gnu.tar.gz</a></td>
<td>x86 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64-unknown-linux-gnu.tar.gz">ruff-powerpc64-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64le-unknown-linux-gnu.tar.gz">ruff-powerpc64le-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64LE Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64le-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-s390x-unknown-linux-gnu.tar.gz">ruff-s390x-unknown-linux-gnu.tar.gz</a></td>
<td>S390x Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-s390x-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- 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.6.7</h2>
<h3>Preview features</h3>
<ul>
<li>Add Python version support to ruff analyze CLI (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13426">#13426</a>)</li>
<li>Add <code>exclude</code> support to <code>ruff analyze</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13425">#13425</a>)</li>
<li>Fix parentheses around return type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13381">#13381</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Fix: Don't autofix if the first line ends
in a question mark? (D400) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13399">#13399</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Respect <code>lint.exclude</code> in ruff check
<code>--add-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13427">#13427</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid tracking module resolver files in Salsa (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13437">#13437</a>)</li>
<li>Use <code>forget</code> for module resolver database (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13438">#13438</a>)</li>
</ul>
<h2>0.6.6</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>refurb</code>] Skip
<code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>)
when non-trivial slice steps are present (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13405">#13405</a>)</li>
<li>Add a subcommand to generate dependency graphs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13402">#13402</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix placement of inline parameter comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13379">#13379</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix off-by one error in the <code>LineIndex::offset</code>
calculation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13407">#13407</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>fastapi</code>] Respect FastAPI aliases in route definitions
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13394">#13394</a>)</li>
<li>[<code>pydocstyle</code>] Respect word boundaries when detecting
function signature in docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13388">#13388</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add backlinks to rule overview linter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13368">#13368</a>)</li>
<li>Fix documentation for editor vim plugin ALE (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13348">#13348</a>)</li>
<li>Fix rendering of <code>FURB188</code> docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13406">#13406</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/17c4690b5ead2872ed8035d9a03a2af0cb0a1fa1"><code>17c4690</code></a>
Bump version to v0.6.7 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13439">#13439</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f06d44e6e5cea8d83b904ed06dcbf721fcd3bc5f"><code>f06d44e</code></a>
Use <code>forget</code> for module resolver database (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13438">#13438</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/653c09001a7fb09324c101fd669c9568d047d82c"><code>653c090</code></a>
Use an empty vendored file system in Ruff (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13436">#13436</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8921fbb54cda836d76b08e8187f757b58ad739ef"><code>8921fbb</code></a>
<code>vendored_typeshed_versions</code> should use
<code>db.vendored</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13434">#13434</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3018303c8759b3e96d075c62eeb8b8ef24b4d0c3"><code>3018303</code></a>
Avoid parsing with Salsa (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13437">#13437</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6c303b24455f26ff08859affc080e43e1206ea6c"><code>6c303b2</code></a>
red-knot: Add not unary operator for boolean literals (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13422">#13422</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7579a792c75265c1299ca95bf6d1458d7cc56c81"><code>7579a79</code></a>
Add test coverage for non-Python globs (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13430">#13430</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0bbc13803768c97af9be783e692cd2c45c1175a9"><code>0bbc138</code></a>
Upgrade to latest <code>cargo-dist</code> version (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13416">#13416</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ff11db61b40958fb39cfa6b53004614bd74087b3"><code>ff11db6</code></a>
Add Python version support to ruff analyze CLI (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13426">#13426</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2823487bf8021ac81be0e8c4825731f87ccacb0a"><code>2823487</code></a>
Respect <code>lint.exclude</code> in ruff check <code>--add-noqa</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/13427">#13427</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.5...0.6.7">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.6.5&new-version=0.6.7)](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>
- Commit:
3759470ead7cd5d7f8dc603307fe926c8e63cf10
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.5 to 0.6.7
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.5 to 0.6.7.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.5...0.6.7)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
2084a6ba5ec582098a2ba501d7a17e151f65eaac
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump pyo3 from 0.22.2 to 0.22.3 (#1364)
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.2 to 0.22.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pyo3/pyo3/releases">pyo3's
releases</a>.</em></p>
<blockquote>
<h2>PyO3 0.22.3</h2>
<p>This release contains a number of quality improvements building upon
PyO3 0.22.2.</p>
<p>Python function calls (using <code>.call0()</code>,
<code>.call1(args)</code> and <code>.call(args, kwargs)</code>) will now
make use of the "vectorcall" calling conventions where
possible, which can reduce overheads in many cases.</p>
<p>There have been several fix-ups to PyO3's FFI definitions. A new
<code>pyo3::ffi::compat</code> namespace has been added which offers
some backwards-compatible implementations of Python APIs otherwise
normally only available on recent Pythons.</p>
<p>There have been numerous other bug-fixes and minor tweaks to improve
user experience.</p>
<p>Thank you to the following contributors for the improvements:</p>
<p><a href="https://github.com/birkenfeld"><code>@birkenfeld</code></a>
<a
href="https://github.com/ChayimFriedman2"><code>@ChayimFriedman2</code></a>
<a href="https://github.com/csernazs"><code>@csernazs</code></a>
<a href="https://github.com/davidhewitt"><code>@davidhewitt</code></a>
<a href="https://github.com/Icxolu"><code>@Icxolu</code></a>
<a href="https://github.com/jakelishman"><code>@jakelishman</code></a>
<a href="https://github.com/LilyFoote"><code>@LilyFoote</code></a>
<a href="https://github.com/ngoldbaum"><code>@ngoldbaum</code></a>
<a href="https://github.com/Zyell"><code>@Zyell</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PyO3/pyo3/blob/v0.22.3/CHANGELOG.md">pyo3's
changelog</a>.</em></p>
<blockquote>
<h2>[0.22.3] - 2024-09-15</h2>
<h3>Added</h3>
<ul>
<li>Add <code>pyo3::ffi::compat</code> namespace with compatibility
shims for C API functions added in recent versions of Python.</li>
<li>Add FFI definition <code>PyDict_GetItemRef</code> on Python 3.13 and
newer, and <code>compat::PyDict_GetItemRef</code> for all versions. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4355">#4355</a></li>
<li>Add FFI definition <code>PyList_GetItemRef</code> on Python 3.13 and
newer, and <code>pyo3_ffi::compat::PyList_GetItemRef</code> for all
versions. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4410">#4410</a></li>
<li>Add FFI definitions <code>compat::Py_NewRef</code> and
<code>compat::Py_XNewRef</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4445">#4445</a></li>
<li>Add FFI definitions <code>compat::PyObject_CallNoArgs</code> and
<code>compat::PyObject_CallMethodNoArgs</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4461">#4461</a></li>
<li>Add <code>GilOnceCell<Py<T>>::clone_ref</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4511">#4511</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Improve error messages for <code>#[pyfunction]</code> defined inside
<code>#[pymethods]</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4349">#4349</a></li>
<li>Improve performance of calls to Python by using the vectorcall
calling convention where possible. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4456">#4456</a></li>
<li>Mention the type name in the exception message when trying to
instantiate a class with no constructor defined. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4481">#4481</a></li>
</ul>
<h3>Removed</h3>
<ul>
<li>Remove private FFI definition <code>_Py_PackageContext</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4420">#4420</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix compile failure in declarative <code>#[pymodule]</code> under
presence of <code>#![no_implicit_prelude]</code>. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4328">#4328</a></li>
<li>Fix use of borrowed reference in <code>PyDict::get_item</code>
(unsafe in free-threaded Python). <a
href="https://redirect.github.com/PyO3/pyo3/pull/4355">#4355</a></li>
<li>Fix <code>#[pyclass(eq)]</code> macro hygiene issues for structs and
enums. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4359">#4359</a></li>
<li>Fix hygiene/span issues of <code>'#[pyfunction]</code> and
<code>#[pymethods]</code> generated code which affected expansion in
<code>macro_rules</code> context. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4382">#4382</a></li>
<li>Fix <code>unsafe_code</code> lint error in <code>#[pyclass]</code>
generated code. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4396">#4396</a></li>
<li>Fix async functions returning a tuple only returning the first
element to Python. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4407">#4407</a></li>
<li>Fix use of borrowed reference in <code>PyList::get_item</code>
(unsafe in free-threaded Python). <a
href="https://redirect.github.com/PyO3/pyo3/pull/4410">#4410</a></li>
<li>Correct FFI definition <code>PyArg_ParseTupleAndKeywords</code> to
take <code>*const *const c_char</code> instead of <code>*mut *mut
c_char</code> on Python 3.13 and up. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4420">#4420</a></li>
<li>Fix a soundness bug with <code>PyClassInitializer</code>: panic if
adding subclass to existing instance via
<code>PyClassInitializer::from(Py<BaseClass>).add_subclass(SubClass)</code>.
<a href="https://redirect.github.com/PyO3/pyo3/pull/4454">#4454</a></li>
<li>Fix illegal reference counting op inside implementation of
<code>__traverse__</code> handlers. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4479">#4479</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyO3/pyo3/commit/cd5369c1a0d264db5db030bb099aaafccee28598"><code>cd5369c</code></a>
release: 0.22.3</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/f38c43aaf5b05c45dece964c7ab46e3fe2366d16"><code>f38c43a</code></a>
revert removal of <code>_Py_XNewRef</code> and <code>_Py_NewRef</code>
in 0.22 line</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/dbb33ad10a87f1c5e6168b1fc72483e093faf240"><code>dbb33ad</code></a>
ci: fixup abi3 ui test output</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/ee3b73fcb965805729efd0753e28d5eae4943b4c"><code>ee3b73f</code></a>
ci: updates for Rust 1.81 (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4533">#4533</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/146c39705d9a37d5a42c5bc0525ce81fb3599d7f"><code>146c397</code></a>
ci: fix nightly warning about unreachable pattern (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4437">#4437</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/08a16302cb41ec163e91a3dc398270fd15c54444"><code>08a1630</code></a>
type_object: fix new clippy complaint about length of doc comment (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4527">#4527</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/6c546328462c635c754432a027ce1fc0eae341c3"><code>6c54632</code></a>
fix beta/nightly ci (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4549">#4549</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/560790b92101103869dfef421263b9329939933e"><code>560790b</code></a>
fix nightly ci (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4385">#4385</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/2c66281b6a32cea9485f7c14167db7303822408b"><code>2c66281</code></a>
ci: fix diagnostic case with abi3</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/66ac6c7ac7d7087027711ab425f123eaaaed60cf"><code>66ac6c7</code></a>
fix ui tests (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4397">#4397</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyo3/pyo3/compare/v0.22.2...v0.22.3">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyo3&package-manager=cargo&previous-version=0.22.2&new-version=0.22.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR 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>
- Commit:
dd8c840bac5031fa3af850e91555230edf4e92a4
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.4 to 0.6.5 (#1365)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.4 to 0.6.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.6.5</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pydoclint</code>] Ignore <code>DOC201</code> when function
name is "<strong>new</strong>" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13300">#13300</a>)</li>
<li>[<code>refurb</code>] Implement
<code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13256">#13256</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>eradicate</code>] Ignore script-comments with multiple
end-tags (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13283">#13283</a>)</li>
<li>[<code>pyflakes</code>] Improve error message for
<code>UndefinedName</code> when a builtin was added in a newer version
than specified in Ruff config (<code>F821</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13293">#13293</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Add support for extensionless Python files for server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13326">#13326</a>)</li>
<li>Fix configuration inheritance for configurations specified in the
LSP settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13285">#13285</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>ruff</code>] Handle unary operators in
<code>decimal-from-float-literal</code> (<code>RUF032</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13275">#13275</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Only include rules with diagnostics in SARIF metadata (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13268">#13268</a>)</li>
</ul>
<h3>Playground</h3>
<ul>
<li>Add "Copy as pyproject.toml/ruff.toml" and "Paste
from TOML" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13328">#13328</a>)</li>
<li>Fix errors not shown for restored snippet on page load (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13262">#13262</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/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a
href="https://github.com/RussellLuo"><code>@RussellLuo</code></a></li>
<li><a href="https://github.com/Slyces"><code>@Slyces</code></a></li>
<li><a
href="https://github.com/augustelalande"><code>@augustelalande</code></a></li>
<li><a href="https://github.com/calumy"><code>@calumy</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li>
<li><a href="https://github.com/dizzy57"><code>@dizzy57</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li>
<li><a
href="https://github.com/renovate"><code>@renovate</code></a></li>
</ul>
<h2>Install ruff 0.6.5</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.5/ruff-installer.sh
| sh
</tr></table>
</code></pre>
</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.6.5</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pydoclint</code>] Ignore <code>DOC201</code> when function
name is "<strong>new</strong>" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13300">#13300</a>)</li>
<li>[<code>refurb</code>] Implement
<code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13256">#13256</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>eradicate</code>] Ignore script-comments with multiple
end-tags (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13283">#13283</a>)</li>
<li>[<code>pyflakes</code>] Improve error message for
<code>UndefinedName</code> when a builtin was added in a newer version
than specified in Ruff config (<code>F821</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13293">#13293</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Add support for extensionless Python files for server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13326">#13326</a>)</li>
<li>Fix configuration inheritance for configurations specified in the
LSP settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13285">#13285</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>ruff</code>] Handle unary operators in
<code>decimal-from-float-literal</code> (<code>RUF032</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13275">#13275</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Only include rules with diagnostics in SARIF metadata (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13268">#13268</a>)</li>
</ul>
<h3>Playground</h3>
<ul>
<li>Add "Copy as pyproject.toml/ruff.toml" and "Paste
from TOML" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13328">#13328</a>)</li>
<li>Fix errors not shown for restored snippet on page load (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13262">#13262</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/8558126df1f2b49b4d6fb7b8f535b4dda51d5f50"><code>8558126</code></a>
Bump version to 0.6.5 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13346">#13346</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9bd9981e709fddfd8f2f7d1d5d7c7a7ed1727136"><code>9bd9981</code></a>
Create insta snapshot for SARIF output (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13345">#13345</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/21bfab9b69a5e64144259db678ae80c0932cda3a"><code>21bfab9</code></a>
Playground: Add Copy as pyproject.toml/ruff.toml and paste from TOML (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13328">#13328</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/43a5922f6f11784f74e6f553467b1be802bc2213"><code>43a5922</code></a>
[red-knot] add BitSet::is_empty and BitSet::union (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13333">#13333</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/175d067250e0f906d60043529b690d4663fc609a"><code>175d067</code></a>
[red-knot] add initial Type::is_equivalent_to and Type::is_assignable_to
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/13">#13</a>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4dc2c257efa674b65ce4929d88a770cf0fd011f5"><code>4dc2c25</code></a>
[red-knot] Fix type inference for <code>except*</code> definitions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13320">#13320</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b72d49be16d5e42fec3d25b33f717f553c8f09b3"><code>b72d49b</code></a>
Add support for extensionless Python files for server (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13326">#13326</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/eded78a39ba11ab553d0dfd85766093f7bd639d6"><code>eded78a</code></a>
[<code>pyupgrade</code>] Fix broken doc link and clarify that deprecated
aliases were re...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a7b8cc08f09dfad0bd30ded79852ae45cc24a6c1"><code>a7b8cc0</code></a>
[red-knot] Fix <code>.to_instance()</code> for union types (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13319">#13319</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b93d0ab57c86f2f48b52b56d98f0fc2e5f5e7d10"><code>b93d0ab</code></a>
[red-knot] Add control flow for <code>for</code> loops (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13318">#13318</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.4...0.6.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.6.4&new-version=0.6.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>
- Commit:
74d8b7ea528631c0bcc438c2c0b561443747e48d
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump pyo3 from 0.22.2 to 0.22.3
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.2 to 0.22.3.
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.22.3/CHANGELOG.md)
- [Commits](https://github.com/pyo3/pyo3/compare/v0.22.2...v0.22.3)
---
updated-dependencies:
- dependency-name: pyo3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
85049bfc3cec7fa24463c2df90e7746cbe428a95
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.4 to 0.6.5
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.4 to 0.6.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.4...0.6.5)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
110ac3e8f208f54b9a7ef08101a14720a2d9b652
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Attempt to fix tests on Python 3.13 on Windows (#1362)
- Commit:
042d84a112876801ea67bc5246dc5abf36cb13e3
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Date:
Attempt to fix tests on Python 3.13 on Windows
- Commit:
02b2eed189750eb35e07e3849c01ea213ccb2b98
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.3 to 0.6.4 (#1361)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.3 to 0.6.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.6.4</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-builtins</code>] Use dynamic builtins list based on
Python version (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13172">#13172</a>)</li>
<li>[<code>pydoclint</code>] Permit yielding <code>None</code> in
<code>DOC402</code> and <code>DOC403</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13148">#13148</a>)</li>
<li>[<code>pylint</code>] Update diagnostic message for
<code>PLW3201</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13194">#13194</a>)</li>
<li>[<code>ruff</code>] Implement <code>post-init-default</code>
(<code>RUF033</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13192">#13192</a>)</li>
<li>[<code>ruff</code>] Implement useless if-else (<code>RUF034</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13218">#13218</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-pyi</code>] Respect
<code>pep8_naming.classmethod-decorators</code> settings when
determining if a method is a classmethod in
<code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13162">#13162</a>)</li>
<li>[<code>flake8-pyi</code>] Teach various rules that annotations might
be stringized (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12951">#12951</a>)</li>
<li>[<code>pylint</code>] Avoid <code>no-self-use</code> for
<code>attrs</code>-style validators (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13166">#13166</a>)</li>
<li>[<code>pylint</code>] Recurse into subscript subexpressions when
searching for list/dict lookups (<code>PLR1733</code>,
<code>PLR1736</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13186">#13186</a>)</li>
<li>[<code>pyupgrade</code>] Detect <code>aiofiles.open</code> calls in
<code>UP015</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13173">#13173</a>)</li>
<li>[<code>pyupgrade</code>] Mark <code>sys.version_info[0] <
3</code> and similar comparisons as outdated (<code>UP036</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13175">#13175</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Enrich messages of SARIF results (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13180">#13180</a>)</li>
<li>Handle singular case for incompatible rules warning in <code>ruff
format</code> output (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13212">#13212</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pydocstyle</code>] Improve heuristics for detecting
Google-style docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13142">#13142</a>)</li>
<li>[<code>refurb</code>] Treat <code>sep</code> arguments with effects
as unsafe removals (<code>FURB105</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13165">#13165</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/Jinior"><code>@Jinior</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a
href="https://github.com/RubenVanEldik"><code>@RubenVanEldik</code></a></li>
<li><a
href="https://github.com/RussellLuo"><code>@RussellLuo</code></a></li>
<li><a href="https://github.com/Slyces"><code>@Slyces</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li>
<li><a
href="https://github.com/chriskrycho"><code>@chriskrycho</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>
<li><a
href="https://github.com/github-actions"><code>@github-actions</code></a></li>
<li><a
href="https://github.com/iamlucasvieira"><code>@iamlucasvieira</code></a></li>
<li><a
href="https://github.com/jamesbraza"><code>@jamesbraza</code></a></li>
<li><a
href="https://github.com/renovate"><code>@renovate</code></a></li>
<li><a href="https://github.com/tjkuson"><code>@tjkuson</code></a></li>
<li><a
href="https://github.com/zhoufanjin"><code>@zhoufanjin</code></a></li>
</ul>
<h2>Install ruff 0.6.4</h2>
<!-- 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.6.4</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-builtins</code>] Use dynamic builtins list based on
Python version (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13172">#13172</a>)</li>
<li>[<code>pydoclint</code>] Permit yielding <code>None</code> in
<code>DOC402</code> and <code>DOC403</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13148">#13148</a>)</li>
<li>[<code>pylint</code>] Update diagnostic message for
<code>PLW3201</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13194">#13194</a>)</li>
<li>[<code>ruff</code>] Implement <code>post-init-default</code>
(<code>RUF033</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13192">#13192</a>)</li>
<li>[<code>ruff</code>] Implement useless if-else (<code>RUF034</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13218">#13218</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-pyi</code>] Respect
<code>pep8_naming.classmethod-decorators</code> settings when
determining if a method is a classmethod in
<code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13162">#13162</a>)</li>
<li>[<code>flake8-pyi</code>] Teach various rules that annotations might
be stringized (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12951">#12951</a>)</li>
<li>[<code>pylint</code>] Avoid <code>no-self-use</code> for
<code>attrs</code>-style validators (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13166">#13166</a>)</li>
<li>[<code>pylint</code>] Recurse into subscript subexpressions when
searching for list/dict lookups (<code>PLR1733</code>,
<code>PLR1736</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13186">#13186</a>)</li>
<li>[<code>pyupgrade</code>] Detect <code>aiofiles.open</code> calls in
<code>UP015</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13173">#13173</a>)</li>
<li>[<code>pyupgrade</code>] Mark <code>sys.version_info[0] <
3</code> and similar comparisons as outdated (<code>UP036</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13175">#13175</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Enrich messages of SARIF results (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13180">#13180</a>)</li>
<li>Handle singular case for incompatible rules warning in <code>ruff
format</code> output (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13212">#13212</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pydocstyle</code>] Improve heuristics for detecting
Google-style docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13142">#13142</a>)</li>
<li>[<code>refurb</code>] Treat <code>sep</code> arguments with effects
as unsafe removals (<code>FURB105</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13165">#13165</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/65cc6ec41db50879f7e9711e2b8c74b895ba68e8"><code>65cc6ec</code></a>
Bump version to 0.6.4 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13253">#13253</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/66fe22660807b5eaa68e96495472c7618fa866a2"><code>66fe226</code></a>
[red-knot] fix lookup of nonlocal names in deferred annotations (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13236">#13236</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e965f9cc0eca2d19cc3643475341890a5f090730"><code>e965f9c</code></a>
[red-knot] Infer <code>Unknown</code> for the loop var in <code>async
for</code> loops (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13243">#13243</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0512428a6fdf15eb2de88b297c7d99ea27b992b1"><code>0512428</code></a>
[red-knot] Emit a diagnostic if the value of a starred expression or a
`yield...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/46a457318d8d259376a2b458b3f814b9b795fe69"><code>46a4573</code></a>
[red-knot] Add type inference for basic <code>for</code> loops (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13195">#13195</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/57289099bb9fb782a78d329186991ed3d313e948"><code>5728909</code></a>
Make mypy pass on black in <code>knot_benchmark</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13235">#13235</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9d1bd7a8a776d0f44e7039de2be66040cb938fd4"><code>9d1bd7a</code></a>
[pylint] removed dunder methods in Python 3 (PLW3201) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13194">#13194</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e37bde458e9928f1997cba249471459d31136aee"><code>e37bde4</code></a>
[ruff] implement useless if-else (RUF034) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13218">#13218</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/862bd0c429f002cf65f931fec2ad2f02fa41837d"><code>862bd0c</code></a>
[red-knot] Add debug assert to check for duplicate definitions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13214">#13214</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e1e9143c479b21af9dc5d60d54ad2a095129c794"><code>e1e9143</code></a>
[red-knot] Handle multiple comprehension targets (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13213">#13213</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.3...0.6.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.6.3&new-version=0.6.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>
- Commit:
c2546c1168c9531aa32555afd49434c9c1a5725d
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.3 to 0.6.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.3...0.6.4)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
9f4f5b59c07f8e4fbabb171cb56b8e43f724cfa6
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.2 to 0.6.3 (#1360)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.2 to 0.6.3.
<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.6.3</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Extend
<code>open-file-with-context-handler</code> to work with
<code>dbm.sqlite3</code> (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13104">#13104</a>)</li>
<li>[<code>pycodestyle</code>] Disable <code>E741</code> in stub files
(<code>.pyi</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13119">#13119</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> on explicit
returns in functions that only return <code>None</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13064">#13064</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-async</code>] Disable check for <code>asyncio</code>
before Python 3.11 (<code>ASYNC109</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13023">#13023</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for
<code>fast-api-non-annotated-dependency</code> (<code>FAST002</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13133">#13133</a>)</li>
<li>[<code>flake8-implicit-str-concat</code>] Normalize octals before
merging concatenated strings in
<code>single-line-implicit-string-concatenation</code>
(<code>ISC001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13118">#13118</a>)</li>
<li>[<code>flake8-pytest-style</code>] Improve help message for
<code>pytest-incorrect-mark-parentheses-style</code>
(<code>PT023</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13092">#13092</a>)</li>
<li>[<code>pylint</code>] Avoid autofix for calls that aren't
<code>min</code> or <code>max</code> as starred expression
(<code>PLW3301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13089">#13089</a>)</li>
<li>[<code>ruff</code>] Add <code>datetime.time</code>,
<code>datetime.tzinfo</code>, and <code>datetime.timezone</code> as
immutable function calls (<code>RUF009</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13109">#13109</a>)</li>
<li>[<code>ruff</code>] Extend comment deletion for <code>RUF100</code>
to include trailing text from <code>noqa</code> directives while
preserving any following comments on the same line, if any (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13105">#13105</a>)</li>
<li>Fix dark theme on initial page load for the Ruff playground (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13077">#13077</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/JonathanPlasse"><code>@JonathanPlasse</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a href="https://github.com/N-Wouda"><code>@N-Wouda</code></a></li>
<li><a
href="https://github.com/PalAditya"><code>@PalAditya</code></a></li>
<li><a href="https://github.com/arkuhn"><code>@arkuhn</code></a></li>
<li><a href="https://github.com/calumy"><code>@calumy</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/chriskrycho"><code>@chriskrycho</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li>
<li><a
href="https://github.com/diceroll123"><code>@diceroll123</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li>
<li><a
href="https://github.com/renovate"><code>@renovate</code></a></li>
<li><a href="https://github.com/teofr"><code>@teofr</code></a></li>
<li><a href="https://github.com/tjkuson"><code>@tjkuson</code></a></li>
<li><a href="https://github.com/vdwees"><code>@vdwees</code></a></li>
</ul>
<h2>Install ruff 0.6.3</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.3/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</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.6.3</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Extend
<code>open-file-with-context-handler</code> to work with
<code>dbm.sqlite3</code> (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13104">#13104</a>)</li>
<li>[<code>pycodestyle</code>] Disable <code>E741</code> in stub files
(<code>.pyi</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13119">#13119</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> on explicit
returns in functions that only return <code>None</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13064">#13064</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-async</code>] Disable check for <code>asyncio</code>
before Python 3.11 (<code>ASYNC109</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13023">#13023</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for
<code>fast-api-non-annotated-dependency</code> (<code>FAST002</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13133">#13133</a>)</li>
<li>[<code>flake8-implicit-str-concat</code>] Normalize octals before
merging concatenated strings in
<code>single-line-implicit-string-concatenation</code>
(<code>ISC001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13118">#13118</a>)</li>
<li>[<code>flake8-pytest-style</code>] Improve help message for
<code>pytest-incorrect-mark-parentheses-style</code>
(<code>PT023</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13092">#13092</a>)</li>
<li>[<code>pylint</code>] Avoid autofix for calls that aren't
<code>min</code> or <code>max</code> as starred expression
(<code>PLW3301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13089">#13089</a>)</li>
<li>[<code>ruff</code>] Add <code>datetime.time</code>,
<code>datetime.tzinfo</code>, and <code>datetime.timezone</code> as
immutable function calls (<code>RUF009</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13109">#13109</a>)</li>
<li>[<code>ruff</code>] Extend comment deletion for <code>RUF100</code>
to include trailing text from <code>noqa</code> directives while
preserving any following comments on the same line, if any (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13105">#13105</a>)</li>
<li>Fix dark theme on initial page load for the Ruff playground (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13077">#13077</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/ee258caed72f729a6587bbf73aa25b1f6e9bcb7a"><code>ee258ca</code></a>
Bump version to 0.6.3 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13152">#13152</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b4d9d26020970f6a3f8a272c148c482fd7dc5108"><code>b4d9d26</code></a>
Update faq.md to highlight changes to src (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13145">#13145</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a99832088a31b65f79e578e3131756cfdc0afb0d"><code>a998320</code></a>
[<code>ruff</code>] - extend comment deletions for unused-noqa
(<code>RUF100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13105">#13105</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/770ef2ab2719de85c8beec348595f1c74177ce7e"><code>770ef2a</code></a>
[red-knot] support deferred evaluation of type expressions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13131">#13131</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c6023c03a23e654d3829ef020b993e9888d028f2"><code>c6023c0</code></a>
[red-knot] Add docs on using <code>RAYON_NUM_THREADS</code> for better
logging (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13140">#13140</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/df694ca1c1684a468efec6afd8af1df81eaa56fa"><code>df694ca</code></a>
[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for
`fast-api-non-annotat...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2e75cfbfe7fa79b71f76499d80058597e4c9d83b"><code>2e75cfb</code></a>
Format <code>PYI</code> examples in docs as <code>.pyi</code>-file
snippets (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13116">#13116</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cfafaa7637ef3f568d62d39654e0498f52a07b77"><code>cfafaa7</code></a>
[red-knot] Remove very noisy tracing call when resolving
<code>ImportFrom</code> stateme...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3e9c7adeeee639043686a1717a1683f6620efd2a"><code>3e9c7ad</code></a>
Replace crates by dependi for VS Code Dev Container (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13125">#13125</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/81cd438d883dafb7c51cf2ec9b8e8dcec5cf1f6b"><code>81cd438</code></a>
red-knot: infer and display ellipsis type (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13124">#13124</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.2...0.6.3">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.6.2&new-version=0.6.3)](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>
- Commit:
7661e09e941043532b3689fd10f15bce87f0c031
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.2 to 0.6.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.2...0.6.3)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
06b8bcceaedeb3aaf32bf9e81d0b702b95a22f06
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Fuzzing: Build Fuzz Tests with Rust Extensions and Optional Features (#1358)
Updates the OSS-Fuzz container environment & build script to build and
install Dulwich with all optional features enabled and refines
dictionary handling.
### Impact:
- Increases the fuzz-able surface area of the most interesting (from a
fuzzing & security testing perspective) Dulwich APIs, enabling future
fuzz harnesses improvements to specifically target these features in
tests.
- Enhances flexibility of fuzzer seed data generation steps to improve
dictionary quality and simplify seed corpus management for all fuzz
targets.
### Key Changes in `build.sh`:
- Unset problematic OSS-Fuzz provided `$RUSTFLAGS` to prevent build
issues that inhibit PyO3 based Rust extension compilation.
- Install Python dependencies with specific features (`fastimport`,
`gpg`, `paramiko`, etc.).
- Added "drop-in" support for inclusion of seed corpora zip files &
LibFuzzer options files to be introduced later.
### Key Changes in `container-environment-bootstrap.sh`:
- Installs dependencies required to build Dulwich's optional features
and Rust extensions.
- Updated Python dependencies (`setuptools`, `pyinstaller`, etc.) to the
latest compatible versions.
- Improved dictionary handling for fuzz targets by encapsulating
dictionary generation logic in shell functions and adding default common
dictionary entries to all fuzz target specific `.dict` files.
- Commit:
ad41bf97f3b41bfe6f663ac1f149eb7b248dea01
- From:
- David Lakin <github@themoderndev.com>
- Date:
Build Fuzz Tests with Rust Extensions and Optional Features
Updates the OSS-Fuzz container environment & build script to
build and install Dulwich with all optional features enabled and
refines dictionary handling.
Impact:
- Increases the fuzz-able surface area of the most interesting
(from a fuzzing & security testing perspective) Dulwich APIs,
enabling future fuzz harnesses improvements to specifically
target these features in tests.
- Enhances flexibility of fuzzer seed data generation steps to
improve dictionary quality and simplify seed corpus management
for all fuzz targets.
Key Changes in `build.sh`:
- Unset problematic OSS-Fuzz provided `$RUSTFLAGS` to prevent
build issues that inhibit PyO3 based Rust extension compilation.
- Install Python dependencies with specific features (`fastimport`,
`gpg`, `paramiko`, etc.).
- Added "drop-in" support for inclusion of seed corpora zip files
& LibFuzzer options files to be introduced later.
Key Changes in `container-environment-bootstrap.sh`:
- Installs dependencies required to build Dulwich's optional
features and Rust extensions.
- Updated Python dependencies (`setuptools`, `pyinstaller`, etc.)
to the latest compatible versions.
- Improved dictionary handling for fuzz targets by encapsulating
dictionary generation logic in shell functions and adding
default common dictionary entries to all fuzz target specific
`.dict` files.
- Commit:
294a2171bae9e95d3015c49783274b7cc852c1e8
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.1 to 0.6.2 (#1357)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.1 to 0.6.2.
<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.6.2</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Extend
<code>open-file-with-context-handler</code> to work with other
standard-library IO modules (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>)</li>
<li>[<code>ruff</code>] Avoid <code>unused-async</code> for functions
with FastAPI route decorator (<code>RUF029</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12938">#12938</a>)</li>
<li>[<code>ruff</code>] Ignore <code>fstring-missing-syntax</code>
(<code>RUF027</code>) for <code>fastAPI</code> paths (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12939">#12939</a>)</li>
<li>[<code>ruff</code>] Implement check for Decimal called with a float
literal (RUF032) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12909">#12909</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Update diagnostic message when
expression is at the end of function (<code>B015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12944">#12944</a>)</li>
<li>[<code>flake8-pyi</code>] Skip type annotations in
<code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13002">#13002</a>)</li>
<li>[<code>flake8-type-checking</code>] Always recognise relative
imports as first-party (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12994">#12994</a>)</li>
<li>[<code>flake8-unused-arguments</code>] Ignore unused arguments on
stub functions (<code>ARG001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12966">#12966</a>)</li>
<li>[<code>pylint</code>] Ignore augmented assignment for
<code>self-cls-assignment</code> (<code>PLW0642</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12957">#12957</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Show full context in error log messages (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13029">#13029</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pep8-naming</code>] Don't flag <code>from</code> imports
following conventional import names (<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12946">#12946</a>)</li>
<li>[<code>pylint</code>] - Allow <code>__new__</code> methods to have
<code>cls</code> as their first argument even if decorated with
<code>@staticmethod</code> for <code>bad-staticmethod-argument</code>
(<code>PLW0211</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12958">#12958</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add <code>hyperfine</code> installation instructions; update
<code>hyperfine</code> code samples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13034">#13034</a>)</li>
<li>Expand note to use Ruff with other language server in Kate (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12806">#12806</a>)</li>
<li>Update example for <code>PT001</code> as per the new default
behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13019">#13019</a>)</li>
<li>[<code>perflint</code>] Improve docs for
<code>try-except-in-loop</code> (<code>PERF203</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12947">#12947</a>)</li>
<li>[<code>pydocstyle</code>] Add reference to
<code>lint.pydocstyle.ignore-decorators</code> setting to rule docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12996">#12996</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/FinchPowers"><code>@FinchPowers</code></a></li>
<li><a
href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a
href="https://github.com/Skylion007"><code>@Skylion007</code></a></li>
<li><a
href="https://github.com/TomerBin"><code>@TomerBin</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li>
<li><a
href="https://github.com/diceroll123"><code>@diceroll123</code></a></li>
<li><a
href="https://github.com/dsal3389"><code>@dsal3389</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li>
<li><a
href="https://github.com/kbaskett248"><code>@kbaskett248</code></a></li>
<li><a href="https://github.com/lengau"><code>@lengau</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.6.2</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Extend
<code>open-file-with-context-handler</code> to work with other
standard-library IO modules (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>)</li>
<li>[<code>ruff</code>] Avoid <code>unused-async</code> for functions
with FastAPI route decorator (<code>RUF029</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12938">#12938</a>)</li>
<li>[<code>ruff</code>] Ignore <code>fstring-missing-syntax</code>
(<code>RUF027</code>) for <code>fastAPI</code> paths (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12939">#12939</a>)</li>
<li>[<code>ruff</code>] Implement check for Decimal called with a float
literal (RUF032) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12909">#12909</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Update diagnostic message when
expression is at the end of function (<code>B015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12944">#12944</a>)</li>
<li>[<code>flake8-pyi</code>] Skip type annotations in
<code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13002">#13002</a>)</li>
<li>[<code>flake8-type-checking</code>] Always recognise relative
imports as first-party (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12994">#12994</a>)</li>
<li>[<code>flake8-unused-arguments</code>] Ignore unused arguments on
stub functions (<code>ARG001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12966">#12966</a>)</li>
<li>[<code>pylint</code>] Ignore augmented assignment for
<code>self-cls-assignment</code> (<code>PLW0642</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12957">#12957</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Show full context in error log messages (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13029">#13029</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pep8-naming</code>] Don't flag <code>from</code> imports
following conventional import names (<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12946">#12946</a>)</li>
<li>[<code>pylint</code>] - Allow <code>__new__</code> methods to have
<code>cls</code> as their first argument even if decorated with
<code>@staticmethod</code> for <code>bad-staticmethod-argument</code>
(<code>PLW0211</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12958">#12958</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add <code>hyperfine</code> installation instructions; update
<code>hyperfine</code> code samples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13034">#13034</a>)</li>
<li>Expand note to use Ruff with other language server in Kate (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12806">#12806</a>)</li>
<li>Update example for <code>PT001</code> as per the new default
behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13019">#13019</a>)</li>
<li>[<code>perflint</code>] Improve docs for
<code>try-except-in-loop</code> (<code>PERF203</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12947">#12947</a>)</li>
<li>[<code>pydocstyle</code>] Add reference to
<code>lint.pydocstyle.ignore-decorators</code> setting to rule docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12996">#12996</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/02c4373a4927657a8825d18ae8f0877806cd1f15"><code>02c4373</code></a>
Bump version to 0.6.2 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13056">#13056</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d37e2e5d33deadc15bf4194216e08ce1528a638c"><code>d37e2e5</code></a>
[<code>flake8-simplify</code>] Extend open-file-with-context-handler to
work with other ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d1d067896c115405c87e4526395de207bf037809"><code>d1d0678</code></a>
[red-knot] Remove notebook support from the server (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13040">#13040</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/93f9023ea38ddac7f33b487d938f47cc1333d567"><code>93f9023</code></a>
Add <code>hyperfine</code> installation instructions; update
<code>hyperfine</code> code samples (#...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8144a11f98032a1f109f557fbd5c8379364230b6"><code>8144a11</code></a>
[red-knot] Add definition for with items (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12920">#12920</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dce87c21fdf73a58f3821cae5e71b9da234e29ce"><code>dce87c2</code></a>
Eagerly validate typeshed versions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12786">#12786</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f873d2ac128a2f6897bf814a3b252454aa7be3e2"><code>f873d2a</code></a>
Revert "Use the system allocator for codspeed benchmarks" (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13035">#13035</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ecd9e6a650ef428be67bb0e28cb0c52d27eb2895"><code>ecd9e6a</code></a>
[red-knot] Improve the <code>unresolved-import</code> check (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13007">#13007</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/785c39927bf5fe0b95fd5b2c8286783a04c4bf91"><code>785c399</code></a>
Use ZIP file size metadata to allocate string (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13032">#13032</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a35cdbb27519d91de6d35e76995d1c532e0cd60c"><code>a35cdbb</code></a>
Fix various panicks when linting black/src (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13033">#13033</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.1...0.6.2">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.6.1&new-version=0.6.2)](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>
- Commit:
2c25809021afd6ba7383555ef424b7dd7ba5d723
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.6.1 to 0.6.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.1...0.6.2)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
21e1ba8a61149fa966640e81019c33bce93b37f2
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.7 to 0.6.1 (#1356)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.6.1.
<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.6.1</h2>
<h2>Release Notes</h2>
<p>This is a hotfix release to address an issue with
<code>ruff-pre-commit</code>. In v0.6, Ruff changed its behavior to lint
and format Jupyter notebooks by default; however, due to an oversight,
these files were still excluded by default if Ruff was run via
pre-commit, leading to inconsistent behavior. This has <a
href="https://redirect.github.com/astral-sh/ruff-pre-commit/pull/96">now
been fixed</a>.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>fastapi</code>] Implement
<code>fast-api-unused-path-parameter</code> (<code>FAST003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12638">#12638</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pylint</code>] Rename <code>too-many-positional</code> to
<code>too-many-positional-arguments</code> (<code>R0917</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12905">#12905</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix crash when applying "fix-all" code-action to notebook
cells (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12929">#12929</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>[<code>flake8-naming</code>]: Respect import conventions
(<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12922">#12922</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/JonathanPlasse"><code>@JonathanPlasse</code></a></li>
<li><a
href="https://github.com/Matthieu-LAURENT39"><code>@Matthieu-LAURENT39</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li>
</ul>
<h2>Install ruff 0.6.1</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -c "irm
https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-installer.ps1
| iex"
</code></pre>
<h2>Download ruff 0.6.1</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- 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.6.1</h2>
<p>This is a hotfix release to address an issue with
<code>ruff-pre-commit</code>. In v0.6,
Ruff changed its behavior to lint and format Jupyter notebooks by
default;
however, due to an oversight, these files were still excluded by default
if
Ruff was run via pre-commit, leading to inconsistent behavior.
This has <a
href="https://redirect.github.com/astral-sh/ruff-pre-commit/pull/96">now
been fixed</a>.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>fastapi</code>] Implement
<code>fast-api-unused-path-parameter</code> (<code>FAST003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12638">#12638</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pylint</code>] Rename <code>too-many-positional</code> to
<code>too-many-positional-arguments</code> (<code>R0917</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12905">#12905</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix crash when applying "fix-all" code-action to notebook
cells (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12929">#12929</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>[<code>flake8-naming</code>]: Respect import conventions
(<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12922">#12922</a>)</li>
</ul>
<h2>0.6.0</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.6.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<p>See also, the "Remapped rules" section which may result in
disabled rules.</p>
<ul>
<li>Lint and format Jupyter Notebook by default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12878">#12878</a>).</li>
<li>Detect imports in <code>src</code> layouts by default for
<code>isort</code> rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12848">#12848</a>)</li>
<li>The pytest rules <code>PT001</code> and <code>PT023</code> now
default to omitting the decorator parentheses when there are no
arguments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12838">#12838</a>).</li>
</ul>
<h3>Deprecations</h3>
<p>The following rules are now deprecated:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-missing-fixture-name-underscore/"><code>pytest-missing-fixture-name-underscore</code></a>
(<code>PT004</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-incorrect-fixture-name-underscore/"><code>pytest-incorrect-fixture-name-underscore</code></a>
(<code>PT005</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/unpacked-list-comprehension/"><code>unpacked-list-comprehension</code></a>
(<code>UP027</code>)</li>
</ul>
<h3>Remapped rules</h3>
<p>The following rules have been remapped to new rule codes:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/unnecessary-dict-comprehension-for-iterable/"><code>unnecessary-dict-comprehension-for-iterable</code></a>:
<code>RUF025</code> to <code>C420</code></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/499c0bd875c3f53c65f542a217b4d9a0962191c3"><code>499c0bd</code></a>
Bump version to 0.6.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12937">#12937</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4cb30b598f4247970f714021616583549d0b8b1e"><code>4cb30b5</code></a>
<code>N817</code> docs: refer to the correct setting (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12935">#12935</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/aba0d83c1138ba2a787aa80495c136a057014c52"><code>aba0d83</code></a>
[<code>flake8-naming</code>]: Respect import conventions
(<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12922">#12922</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c319414e54d03b64335c75e2df58bb3a0cd25e7e"><code>c319414</code></a>
Ignore blank line rules for docs formatting (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12934">#12934</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ef1f6d98a05526ba3c82dfb6d1004d85f322e0c8"><code>ef1f6d9</code></a>
Fix description of where the contributor list comes from in instructions
for ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b850b812de0a1f2cfdd8a132ad1f069a1da7ce87"><code>b850b81</code></a>
Use cell source code instead of the concatenated one (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12929">#12929</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a87b27c0753b50653d658a533d19f7a3a9cc5ba6"><code>a87b27c</code></a>
[red-knot] Add support for relative imports (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12910">#12910</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9b73532b112b5c2aa9f820bcfc1185d7af6ca02d"><code>9b73532</code></a>
[<code>flake8-async</code>] Fix examples to use <code>async with</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/12924">#12924</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d8debb7a36bad602b543a299f5cdca5b4c29524f"><code>d8debb7</code></a>
Simplify logic for <code>RUF027</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12907">#12907</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/bd4a947b29564fdbe95a4ee6a188163cd2346eb7"><code>bd4a947</code></a>
[red-knot] Add symbol and definition for parameters (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12862">#12862</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.7...0.6.1">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.5.7&new-version=0.6.1)](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>
- Commit:
61f8801049023292192ea7c1cff5f3241a61b4f8
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.7 to 0.6.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.6.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.7...0.6.1)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>