Commits
- 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>
- Commit:
06405c8e29e0d3716384e582c1b83a8e05fa3563
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.6 to 0.5.7 (#1355)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.6 to 0.5.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.5.7</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Account for list and set
comprehensions in <code>unnecessary-literal-within-tuple-call</code>
(<code>C409</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12657">#12657</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for
<code>future-annotations-in-stub</code> (<code>PYI044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12676">#12676</a>)</li>
<li>[<code>flake8-return</code>] Avoid syntax error when auto-fixing
<code>RET505</code> with mixed indentation (space and tabs) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12740">#12740</a>)</li>
<li>[<code>pydoclint</code>] Add <code>docstring-missing-yields</code>
(<code>DOC402</code>) and <code>docstring-extraneous-yields</code>
(<code>DOC403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12538">#12538</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> if docstring
begins with "Return", "Returns", "Yield",
or "Yields" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12675">#12675</a>)</li>
<li>[<code>pydoclint</code>] Deduplicate collected exceptions after
traversing function bodies (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12642">#12642</a>)</li>
<li>[<code>pydoclint</code>] Ignore <code>DOC</code> errors for stub
functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12651">#12651</a>)</li>
<li>[<code>pydoclint</code>] Teach rules to understand reraised
exceptions as being explicitly raised (<code>DOC501</code>,
<code>DOC502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12639">#12639</a>)</li>
<li>[<code>ruff</code>] Implement
<code>incorrectly-parenthesized-tuple-in-subscript</code>
(<code>RUF031</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12480">#12480</a>)</li>
<li>[<code>ruff</code>] Mark <code>RUF023</code> fix as unsafe if
<code>__slots__</code> is not a set and the binding is used elsewhere
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12692">#12692</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>refurb</code>] Add autofix for <code>implicit-cwd</code>
(<code>FURB177</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12708">#12708</a>)</li>
<li>[<code>ruff</code>] Add autofix for
<code>zip-instead-of-pairwise</code> (<code>RUF007</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12663">#12663</a>)</li>
<li>[<code>tryceratops</code>] Add <code>BaseException</code> to
<code>raise-vanilla-class</code> rule (<code>TRY002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12620">#12620</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Ignore non-file workspace URL; Ruff will display a warning
notification in this case (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12725">#12725</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Fix cache invalidation for nested <code>pyproject.toml</code> files
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12727">#12727</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-async</code>] Fix false positives with multiple
<code>async with</code> items (<code>ASYNC100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12643">#12643</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid false-positives for list
concatenations in SQL construction (<code>S608</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12720">#12720</a>)</li>
<li>[<code>flake8-bugbear</code>] Treat <code>return</code> as
equivalent to <code>break</code> (<code>B909</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12646">#12646</a>)</li>
<li>[<code>flake8-comprehensions</code>] Set comprehensions not a
violation for <code>sum</code> in
<code>unnecessary-comprehension-in-call</code> (<code>C419</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12691">#12691</a>)</li>
<li>[<code>flake8-simplify</code>] Parenthesize conditions based on
precedence when merging if arms (<code>SIM114</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12737">#12737</a>)</li>
<li>[<code>pydoclint</code>] Try both 'Raises' section styles when
convention is unspecified (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12649">#12649</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/DavideRagazzon"><code>@DavideRagazzon</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/augustelalande"><code>@augustelalande</code></a></li>
<li><a
href="https://github.com/bluetech"><code>@bluetech</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a href="https://github.com/cclauss"><code>@cclauss</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>
</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.5.7</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Account for list and set
comprehensions in <code>unnecessary-literal-within-tuple-call</code>
(<code>C409</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12657">#12657</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for
<code>future-annotations-in-stub</code> (<code>PYI044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12676">#12676</a>)</li>
<li>[<code>flake8-return</code>] Avoid syntax error when auto-fixing
<code>RET505</code> with mixed indentation (space and tabs) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12740">#12740</a>)</li>
<li>[<code>pydoclint</code>] Add <code>docstring-missing-yields</code>
(<code>DOC402</code>) and <code>docstring-extraneous-yields</code>
(<code>DOC403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12538">#12538</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> if docstring
begins with "Return", "Returns", "Yield",
or "Yields" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12675">#12675</a>)</li>
<li>[<code>pydoclint</code>] Deduplicate collected exceptions after
traversing function bodies (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12642">#12642</a>)</li>
<li>[<code>pydoclint</code>] Ignore <code>DOC</code> errors for stub
functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12651">#12651</a>)</li>
<li>[<code>pydoclint</code>] Teach rules to understand reraised
exceptions as being explicitly raised (<code>DOC501</code>,
<code>DOC502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12639">#12639</a>)</li>
<li>[<code>ruff</code>] Implement
<code>incorrectly-parenthesized-tuple-in-subscript</code>
(<code>RUF031</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12480">#12480</a>)</li>
<li>[<code>ruff</code>] Mark <code>RUF023</code> fix as unsafe if
<code>__slots__</code> is not a set and the binding is used elsewhere
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12692">#12692</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>refurb</code>] Add autofix for <code>implicit-cwd</code>
(<code>FURB177</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12708">#12708</a>)</li>
<li>[<code>ruff</code>] Add autofix for
<code>zip-instead-of-pairwise</code> (<code>RUF007</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12663">#12663</a>)</li>
<li>[<code>tryceratops</code>] Add <code>BaseException</code> to
<code>raise-vanilla-class</code> rule (<code>TRY002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12620">#12620</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Ignore non-file workspace URL; Ruff will display a warning
notification in this case (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12725">#12725</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Fix cache invalidation for nested <code>pyproject.toml</code> files
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12727">#12727</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-async</code>] Fix false positives with multiple
<code>async with</code> items (<code>ASYNC100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12643">#12643</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid false-positives for list
concatenations in SQL construction (<code>S608</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12720">#12720</a>)</li>
<li>[<code>flake8-bugbear</code>] Treat <code>return</code> as
equivalent to <code>break</code> (<code>B909</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12646">#12646</a>)</li>
<li>[<code>flake8-comprehensions</code>] Set comprehensions not a
violation for <code>sum</code> in
<code>unnecessary-comprehension-in-call</code> (<code>C419</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12691">#12691</a>)</li>
<li>[<code>flake8-simplify</code>] Parenthesize conditions based on
precedence when merging if arms (<code>SIM114</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12737">#12737</a>)</li>
<li>[<code>pydoclint</code>] Try both 'Raises' section styles when
convention is unspecified (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12649">#12649</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/221ea662e0e19384f774c99e93a9fd08b6f14029"><code>221ea66</code></a>
Bump version to 0.5.7 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12756">#12756</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d28c5afd14a9ae01f960bf812298065d3450a91f"><code>d28c5af</code></a>
[red-knot] Remove mentions of Ruff from the CLI help (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12752">#12752</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f1de08c2a04b5cd78abba40c8d12e6ed71afc420"><code>f1de08c</code></a>
[red-knot] Merge the semantic and module-resolver crates (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12751">#12751</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/33e9a6a54e04d78f91a4787218a8eca1e5d196b8"><code>33e9a6a</code></a>
SIM110: <code>any()</code> is ~3x slower than the code it replaces (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12746">#12746</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f577e03021e1e165a50a4a6f116229299018990e"><code>f577e03</code></a>
[ruff] Ignore empty tuples for
`incorrectly-parenthesized-tuple-in-subscript ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f53733525c3fe31eca4d9ba6c3a9367c1e88de59"><code>f537335</code></a>
Remove all <code>useEffect</code> usages (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12659">#12659</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2daa9143342237aced17e407909278ffc5cf3fed"><code>2daa914</code></a>
Gracefully handle errors in CLI (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12747">#12747</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6d9205e346bfd58ab1811761dc3bad9c0cbed56f"><code>6d9205e</code></a>
[<code>ruff_linter</code>] - Use LibCST in
<code>adjust_indentation</code> for mixed whitespace (<a
href="https://redirect.github.com/astral-sh/ruff/issues/1">#1</a>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/df7345e118f456e43b04aefbbaaa253c16b62329"><code>df7345e</code></a>
Exit with an error if there are check failures (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12735">#12735</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dc6aafecc2b0eb7dc44347051bb1077f3dd79c0d"><code>dc6aafe</code></a>
Setup tracing and document tracing usage (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12730">#12730</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.6...0.5.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.5.6&new-version=0.5.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:
07be7b3a13c321387e307499faf5e5ced0d10de4
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.6 to 0.5.7
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.6 to 0.5.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.5.6...0.5.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:
a42dd27a39722aa850842cfefad75ba15d2f5730
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Refer to Rust rather than C bindings (#1354)
- Commit:
92749cd5a91f95334ab35a06479ecf6d2e89d0f8
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Date:
Refer to Rust rather than C bindings
- Commit:
a107e66a92bfcb253e3bd002d87c33927b126d39
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Support Python 3.13 (#1353)
Closes https://github.com/jelmer/dulwich/issues/1352
- Commit:
c8bdd7948859cf2a34065785557aafc1a4be8766
- From:
- Edgar Ramírez-Mondragón <edgarrm358@gmail.com>
- Date:
Update cibw skip config
- Commit:
a72e0bf6583581a186af2109977e45ecf4c11d83
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.5 to 0.5.6 (#1351)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.5 to 0.5.6.
<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.5.6</h2>
<h2>Release Notes</h2>
<p>Ruff 0.5.6 automatically enables linting and formatting of notebooks
in <em>preview mode</em>.
You can opt-out of this behavior by adding <code>*.ipynb</code> to the
<code>extend-exclude</code> setting.</p>
<pre lang="toml"><code>[tool.ruff]
extend-exclude = ["*.ipynb"]
</code></pre>
<h3>Preview features</h3>
<ul>
<li>Enable notebooks by default in preview mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12621">#12621</a>)</li>
<li>[<code>flake8-builtins</code>] Implement import, lambda, and module
shadowing (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12546">#12546</a>)</li>
<li>[<code>pydoclint</code>] Add <code>docstring-missing-returns</code>
(<code>DOC201</code>) and <code>docstring-extraneous-returns</code>
(<code>DOC202</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12485">#12485</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-return</code>] Exempt cached properties and other
property-like decorators from explicit return rule (<code>RET501</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12563">#12563</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Make server panic hook more error resilient (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12610">#12610</a>)</li>
<li>Use <code>$/logTrace</code> for server trace logs in Zed and VS Code
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12564">#12564</a>)</li>
<li>Keep track of deleted cells for reorder change request (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12575">#12575</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>[<code>flake8-implicit-str-concat</code>] Always allow explicit
multi-line concatenations when implicit concatenations are banned (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12532">#12532</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-async</code>] Avoid flagging
<code>asyncio.timeout</code>s as unused when the context manager
includes <code>asyncio.TaskGroup</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12605">#12605</a>)</li>
<li>[<code>flake8-slots</code>] Avoid recommending
<code>__slots__</code> for classes that inherit from more than
<code>namedtuple</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12531">#12531</a>)</li>
<li>[<code>isort</code>] Avoid marking required imports as unused (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12537">#12537</a>)</li>
<li>[<code>isort</code>] Preserve trailing inline comments on
import-from statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12498">#12498</a>)</li>
<li>[<code>pycodestyle</code>] Add newlines before comments
(<code>E305</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12606">#12606</a>)</li>
<li>[<code>pycodestyle</code>] Don't attach comments with mismatched
indents (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12604">#12604</a>)</li>
<li>[<code>pyflakes</code>] Fix preview-mode bugs in <code>F401</code>
when attempting to autofix unused first-party submodule imports in an
<code>__init__.py</code> file (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12569">#12569</a>)</li>
<li>[<code>pylint</code>] Respect start index in
<code>unnecessary-list-index-lookup</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12603">#12603</a>)</li>
<li>[<code>pyupgrade</code>] Avoid recommending no-argument super in
<code>slots=True</code> dataclasses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12530">#12530</a>)</li>
<li>[<code>pyupgrade</code>] Use colon rather than dot formatting for
integer-only types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12534">#12534</a>)</li>
<li>Fix NFKC normalization bug when removing unused imports (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12571">#12571</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>Consider more stdlib decorators to be property-like (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12583">#12583</a>)</li>
<li>Improve handling of metaclasses in various linter rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12579">#12579</a>)</li>
<li>Improve consistency between linter rules in determining whether a
function is property (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12581">#12581</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.5.6</h2>
<p>Ruff 0.5.6 automatically enables linting and formatting of notebooks
in <em>preview mode</em>.
You can opt-out of this behavior by adding <code>*.ipynb</code> to the
<code>extend-exclude</code> setting.</p>
<pre lang="toml"><code>[tool.ruff]
extend-exclude = ["*.ipynb"]
</code></pre>
<h3>Preview features</h3>
<ul>
<li>Enable notebooks by default in preview mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12621">#12621</a>)</li>
<li>[<code>flake8-builtins</code>] Implement import, lambda, and module
shadowing (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12546">#12546</a>)</li>
<li>[<code>pydoclint</code>] Add <code>docstring-missing-returns</code>
(<code>DOC201</code>) and <code>docstring-extraneous-returns</code>
(<code>DOC202</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12485">#12485</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-return</code>] Exempt cached properties and other
property-like decorators from explicit return rule (<code>RET501</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12563">#12563</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Make server panic hook more error resilient (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12610">#12610</a>)</li>
<li>Use <code>$/logTrace</code> for server trace logs in Zed and VS Code
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12564">#12564</a>)</li>
<li>Keep track of deleted cells for reorder change request (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12575">#12575</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>[<code>flake8-implicit-str-concat</code>] Always allow explicit
multi-line concatenations when implicit concatenations are banned (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12532">#12532</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-async</code>] Avoid flagging
<code>asyncio.timeout</code>s as unused when the context manager
includes <code>asyncio.TaskGroup</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12605">#12605</a>)</li>
<li>[<code>flake8-slots</code>] Avoid recommending
<code>__slots__</code> for classes that inherit from more than
<code>namedtuple</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12531">#12531</a>)</li>
<li>[<code>isort</code>] Avoid marking required imports as unused (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12537">#12537</a>)</li>
<li>[<code>isort</code>] Preserve trailing inline comments on
import-from statements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12498">#12498</a>)</li>
<li>[<code>pycodestyle</code>] Add newlines before comments
(<code>E305</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12606">#12606</a>)</li>
<li>[<code>pycodestyle</code>] Don't attach comments with mismatched
indents (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12604">#12604</a>)</li>
<li>[<code>pyflakes</code>] Fix preview-mode bugs in <code>F401</code>
when attempting to autofix unused first-party submodule imports in an
<code>__init__.py</code> file (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12569">#12569</a>)</li>
<li>[<code>pylint</code>] Respect start index in
<code>unnecessary-list-index-lookup</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12603">#12603</a>)</li>
<li>[<code>pyupgrade</code>] Avoid recommending no-argument super in
<code>slots=True</code> dataclasses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12530">#12530</a>)</li>
<li>[<code>pyupgrade</code>] Use colon rather than dot formatting for
integer-only types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12534">#12534</a>)</li>
<li>Fix NFKC normalization bug when removing unused imports (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12571">#12571</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>Consider more stdlib decorators to be property-like (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12583">#12583</a>)</li>
<li>Improve handling of metaclasses in various linter rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12579">#12579</a>)</li>
<li>Improve consistency between linter rules in determining whether a
function is property (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12581">#12581</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/da824ba316bd11de349479aaab06b6ab06560d38"><code>da824ba</code></a>
Release Ruff 0.5.6 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12629">#12629</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/012198a1b0f4870902992218c04aac3f07ee76c8"><code>012198a</code></a>
Enable notebooks by default in preview mode (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12621">#12621</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fbab04fbe1ea9ab08540c4e6a0b3ab7b9e19d637"><code>fbab04f</code></a>
[red-knot] Allow multiple <code>site-packages</code> search paths (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12609">#12609</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9aa43d5f911f5f46b77bf4d9b72b52ad2d4b9e11"><code>9aa43d5</code></a>
Separate <code>red_knot</code> into CLI and
<code>red_knot_workspace</code> crates (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12623">#12623</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/966563c79b2810371728c302fef2e97569ba5ba0"><code>966563c</code></a>
Add tests for hard and soft links (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12590">#12590</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/27edadec2953d8816a742f32c41695d1b03534c6"><code>27edade</code></a>
Make server panic hook more error resilient (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12610">#12610</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2e2b1b460f4de25e630cde69b4b49577bc5134b4"><code>2e2b1b4</code></a>
Fix a typo in <code>docs/editors/settings.md</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12614">#12614</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a3e67abf4ce7b519152c03ff441424c18e4c18ee"><code>a3e67ab</code></a>
Add newlines before comments in E305 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12606">#12606</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ee0518e8f71cb0bc4d5cc3afc28a54a0bbc78247"><code>ee0518e</code></a>
[red-knot] implement attribute of union (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12601">#12601</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d774a3bd48bbf8b697190b7d68251195cdc6c64b"><code>d774a3b</code></a>
Avoid unused async when context manager includes <code>TaskGroup</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/12605">#12605</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.5...0.5.6">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.5&new-version=0.5.6)](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:
2f84f64b52da52a7c231df425004d2dcc502d826
- From:
- Edgar Ramírez-Mondragón <edgarrm358@gmail.com>
- Date:
Support Python 3.13
- Commit:
12a350865dfeb16c0322815b740488af392ddfb8
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.5 to 0.5.6
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.5 to 0.5.6.
- [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.5...0.5.6)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
b339fa1df2bf776d9084ff6b6c0ed9db011cd255
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.4 to 0.5.5 (#1350)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.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.5.5</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>fastapi</code>] Implement
<code>fastapi-redundant-response-model</code> (<code>FAST001</code>) and
<code>fastapi-non-annotated-dependency</code>(<code>FAST002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11579">#11579</a>)</li>
<li>[<code>pydoclint</code>] Implement
<code>docstring-missing-exception</code> (<code>DOC501</code>) and
<code>docstring-extraneous-exception</code> (<code>DOC502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11471">#11471</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>numpy</code>] Fix NumPy 2.0 rule for <code>np.alltrue</code>
and <code>np.sometrue</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12473">#12473</a>)</li>
<li>[<code>numpy</code>] Ignore <code>NPY201</code> inside
<code>except</code> blocks for compatibility with older numpy versions
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12490">#12490</a>)</li>
<li>[<code>pep8-naming</code>] Avoid applying <code>ignore-names</code>
to <code>self</code> and <code>cls</code> function names
(<code>N804</code>, <code>N805</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12497">#12497</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix incorrect placement of leading function comment with type params
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12447">#12447</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Do not bail code action resolution when a quick fix is requested (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12462">#12462</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix <code>Ord</code> implementation of <code>cmp_fix</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12471">#12471</a>)</li>
<li>Raise syntax error for unparenthesized generator expression in
multi-argument call (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12445">#12445</a>)</li>
<li>[<code>pydoclint</code>] Fix panic in <code>DOC501</code> reported
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/12428">#12428</a>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12435">#12435</a>)</li>
<li>[<code>flake8-bugbear</code>] Allow singleton tuples with starred
expressions in <code>B013</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12484">#12484</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add Eglot setup guide for Emacs editor (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12426">#12426</a>)</li>
<li>Add note about the breaking change in <code>nvim-lspconfig</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12507">#12507</a>)</li>
<li>Add note to include notebook files for native server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12449">#12449</a>)</li>
<li>Add setup docs for Zed editor (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12501">#12501</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/IvanIsCoding"><code>@IvanIsCoding</code></a></li>
<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/UriyaHarpeness"><code>@UriyaHarpeness</code></a></li>
<li><a
href="https://github.com/augustelalande"><code>@augustelalande</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/dylwil3"><code>@dylwil3</code></a></li>
<li><a href="https://github.com/foxmean"><code>@foxmean</code></a></li>
<li><a href="https://github.com/mtsokol"><code>@mtsokol</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.5.5</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>fastapi</code>] Implement
<code>fastapi-redundant-response-model</code> (<code>FAST001</code>) and
<code>fastapi-non-annotated-dependency</code>(<code>FAST002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11579">#11579</a>)</li>
<li>[<code>pydoclint</code>] Implement
<code>docstring-missing-exception</code> (<code>DOC501</code>) and
<code>docstring-extraneous-exception</code> (<code>DOC502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11471">#11471</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>numpy</code>] Fix NumPy 2.0 rule for <code>np.alltrue</code>
and <code>np.sometrue</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12473">#12473</a>)</li>
<li>[<code>numpy</code>] Ignore <code>NPY201</code> inside
<code>except</code> blocks for compatibility with older numpy versions
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12490">#12490</a>)</li>
<li>[<code>pep8-naming</code>] Avoid applying <code>ignore-names</code>
to <code>self</code> and <code>cls</code> function names
(<code>N804</code>, <code>N805</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12497">#12497</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix incorrect placement of leading function comment with type params
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12447">#12447</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Do not bail code action resolution when a quick fix is requested (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12462">#12462</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix <code>Ord</code> implementation of <code>cmp_fix</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12471">#12471</a>)</li>
<li>Raise syntax error for unparenthesized generator expression in
multi-argument call (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12445">#12445</a>)</li>
<li>[<code>pydoclint</code>] Fix panic in <code>DOC501</code> reported
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/12428">#12428</a>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12435">#12435</a>)</li>
<li>[<code>flake8-bugbear</code>] Allow singleton tuples with starred
expressions in <code>B013</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12484">#12484</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add Eglot setup guide for Emacs editor (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12426">#12426</a>)</li>
<li>Add note about the breaking change in <code>nvim-lspconfig</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12507">#12507</a>)</li>
<li>Add note to include notebook files for native server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12449">#12449</a>)</li>
<li>Add setup docs for Zed editor (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12501">#12501</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/fc16d8d04d86aa94a8aac14bbb87089b64d443a1"><code>fc16d8d</code></a>
Bump version to 0.5.5 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12510">#12510</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/175e5d7b8840d8e05b30794cb1554c68c497129a"><code>175e5d7</code></a>
Add missing traceback line in <code>f-string-in-exception</code>
docstring. (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12508">#12508</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c03f257ed745f6606a717e09c76c7f1a56611a29"><code>c03f257</code></a>
Add note about the breaking change in <code>nvim-lspconfig</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12507">#12507</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6bbb4a28c2a51c49ded5d40f70672fcc4c6222d7"><code>6bbb4a2</code></a>
Add setup docs for Zed editor (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12501">#12501</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2ce3e3ae60ba44700b5e98a61adc96d80b0e4bd3"><code>2ce3e3a</code></a>
Fix the search path tests on MacOS (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12503">#12503</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2a64cccb61f1c84e5a58f907f46111ab36321466"><code>2a64ccc</code></a>
Avoid applying <code>ignore-names</code> to <code>self</code> and
<code>cls</code> function names (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12497">#12497</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/928ffd66503759679823c5f346941ef58486766e"><code>928ffd6</code></a>
Ignore <code>NPY201</code> inside <code>except</code> blocks for
compatibility with older numpy ver...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e52be0951aad5483a0e453dded78627fc74e7e2a"><code>e52be09</code></a>
[red-knot] Improve validation for search paths (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12376">#12376</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/889073578e12e85c83f983edfe360be9cd9e3155"><code>8890735</code></a>
[flake8-bugbear] Allow singleton tuples with starred expressions in B013
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/12">#12</a>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/eac965ecaf98832253e31e61143f7211e161c26d"><code>eac965e</code></a>
[red-knot] Watch search paths (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12407">#12407</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.4...0.5.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.5.4&new-version=0.5.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:
bf12a25fc76ecdb30ad791479d03fd576a4bc170
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.4 to 0.5.5
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.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.5.4...0.5.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:
5aeeaaefad642653ad6552c302d4847cd51bd0f9
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.2 to 0.5.4 (#1348)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.2 to 0.5.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.5.4</h2>
<h2>Release Notes</h2>
<h3>Rule changes</h3>
<ul>
<li>[<code>ruff</code>] Rename <code>RUF007</code> to
<code>zip-instead-of-pairwise</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12399">#12399</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-builtins</code>] Avoid shadowing diagnostics for
<code>@override</code> methods (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12415">#12415</a>)</li>
<li>[<code>flake8-comprehensions</code>] Insert parentheses for
multi-argument generators (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12422">#12422</a>)</li>
<li>[<code>pydocstyle</code>] Handle escaped docstrings within docstring
(<code>D301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12192">#12192</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix GitHub link to Neovim setup (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12410">#12410</a>)</li>
<li>Fix <code>output-format</code> default in settings reference (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12409">#12409</a>)</li>
</ul>
<h2>Install ruff 0.5.4</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.5.4/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.5.4/ruff-installer.ps1
| iex"
</code></pre>
<h2>Download ruff 0.5.4</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.5.4/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.5.4/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/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.5.4/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.5.4/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.5.4/ruff-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/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.5.4/ruff-i686-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/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.5.4/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.5.4/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.5.4/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.5.4/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.5.4/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.5.4/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.5.4/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.5.4/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.5.4/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.5.4/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.5.4/ruff-s390x-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-x86_64-unknown-linux-gnu.tar.gz">ruff-x86_64-unknown-linux-gnu.tar.gz</a></td>
<td>x64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-x86_64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-armv7-unknown-linux-gnueabihf.tar.gz">ruff-armv7-unknown-linux-gnueabihf.tar.gz</a></td>
<td>ARMv7 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-armv7-unknown-linux-gnueabihf.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-aarch64-unknown-linux-musl.tar.gz">ruff-aarch64-unknown-linux-musl.tar.gz</a></td>
<td>ARM64 MUSL Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-aarch64-unknown-linux-musl.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-i686-unknown-linux-musl.tar.gz">ruff-i686-unknown-linux-musl.tar.gz</a></td>
<td>x86 MUSL Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-i686-unknown-linux-musl.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.5.4</h2>
<h3>Rule changes</h3>
<ul>
<li>[<code>ruff</code>] Rename <code>RUF007</code> to
<code>zip-instead-of-pairwise</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12399">#12399</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-builtins</code>] Avoid shadowing diagnostics for
<code>@override</code> methods (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12415">#12415</a>)</li>
<li>[<code>flake8-comprehensions</code>] Insert parentheses for
multi-argument generators (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12422">#12422</a>)</li>
<li>[<code>pydocstyle</code>] Handle escaped docstrings within docstring
(<code>D301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12192">#12192</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix GitHub link to Neovim setup (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12410">#12410</a>)</li>
<li>Fix <code>output-format</code> default in settings reference (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12409">#12409</a>)</li>
</ul>
<h2>0.5.3</h2>
<p><strong>Ruff 0.5.3 marks the stable release of the Ruff language
server and introduces revamped
<a href="https://docs.astral.sh/ruff/editors">documentation</a>,
including <a href="https://docs.astral.sh/ruff/editors/setup">setup
guides for your editor of
choice</a> and <a
href="https://docs.astral.sh/ruff/editors/settings">the language server
itself</a></strong>.</p>
<h3>Preview features</h3>
<ul>
<li>Formatter: Insert empty line between suite and alternative branch
after function/class definition (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12294">#12294</a>)</li>
<li>[<code>pyupgrade</code>] Implement
<code>unnecessary-default-type-args</code> (<code>UP043</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12371">#12371</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Detect enumerate iterations in
<code>loop-iterator-mutation</code> (<code>B909</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12366">#12366</a>)</li>
<li>[<code>flake8-bugbear</code>] Remove <code>discard</code>,
<code>remove</code>, and <code>pop</code> allowance for
<code>loop-iterator-mutation</code> (<code>B909</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12365">#12365</a>)</li>
<li>[<code>pylint</code>] Allow
<code>repeated-equality-comparison</code> for mixed operations
(<code>PLR1714</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12369">#12369</a>)</li>
<li>[<code>pylint</code>] Ignore <code>self</code> and <code>cls</code>
when counting arguments (<code>PLR0913</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12367">#12367</a>)</li>
<li>[<code>pylint</code>] Use UTF-8 as default encoding in
<code>unspecified-encoding</code> fix (<code>PLW1514</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12370">#12370</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Build settings index in parallel for the native server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12299">#12299</a>)</li>
<li>Use fallback settings when indexing the project (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12362">#12362</a>)</li>
<li>Consider <code>--preview</code> flag for <code>server</code>
subcommand for the linter and formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12208">#12208</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Allow additional arguments for
<code>sum</code> and <code>max</code> comprehensions (<code>C419</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12364">#12364</a>)</li>
<li>[<code>pylint</code>] Avoid dropping extra boolean operations in
<code>repeated-equality-comparison</code> (<code>PLR1714</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12368">#12368</a>)</li>
<li>[<code>pylint</code>] Consider expression before statement when
determining binding kind (<code>PLR1704</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12346">#12346</a>)</li>
</ul>
<h3>Documentation</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/53b84ab05460d006b10e035fd6a4ffb62d9b608a"><code>53b84ab</code></a>
Cleanup redundant spaces from changelog (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12424">#12424</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3664f85f4505b502a83af5abf01265582471d3f1"><code>3664f85</code></a>
Bump version to v0.5.4 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12423">#12423</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2c1926beeb145bcae42ff8d63a5f95e2eb9331d3"><code>2c1926b</code></a>
Insert parentheses for multi-argument generators (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12422">#12422</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4bcc96ae514127a1a1bece13f55d0409d98bbf68"><code>4bcc96a</code></a>
Avoid shadowing diagnostics for <code>@override</code> methods (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12415">#12415</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c0a2b49bacfed394f4668cdf4ec3c97ee72db374"><code>c0a2b49</code></a>
Fix the Github link error for Neovim in the setup for editors in the
docs. (#...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ca2224862882e73d40ebfe8fe3f99312b013a3e9"><code>ca22248</code></a>
Update docs Settings output-format default (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12409">#12409</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d8cf8ac2ef26bb630b43b095f61662173b2bac2f"><code>d8cf8ac</code></a>
[red-knot] Resolve symbols from <code>builtins.pyi</code> in the stdlib
if they cannot b...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1c7b84059e5490b5c0a9f4658975559e5372a6ba"><code>1c7b840</code></a>
[red-knot] fix incremental benchmark (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12400">#12400</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f82bb675556097c5d99a62ad6b3b4c19023a96ae"><code>f82bb67</code></a>
[red-knot] trace file when inferring types (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12401">#12401</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5f96f69151568da8300fe6d3bf513ae4da3ee6ba"><code>5f96f69</code></a>
[red-knot] Fix bug where module resolution would not be invalidated if
an ent...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.2...0.5.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.5.2&new-version=0.5.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:
0c623c1f5818cf77f9b2f9cc7a5041e246b79a6b
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump pyo3 from 0.22.1 to 0.22.2 (#1349)
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.1 to 0.22.2.
<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.2</h2>
<p>This release contains some minor reliability fixes building upon PyO3
0.22.1.</p>
<p>As PyO3 is still working on supporting freethreaded Python (upcoming
in 3.13), support has been gated behind an
<code>UNSAFE_PYO3_BUILD_FREE_THREADED=1</code> environment variable to
avoid unsuspecting users running into broken builds.</p>
<p>Packages built for the <code>abi3</code> stable ABI will now use FFI
functions for refcounting instead of inline reference count
modifications on all versions of the stable ABI (previously only
<code>abi3</code> builds for 3.12 and up would use FFI functions). This
helps mitigate interactions of old versions of the stable ABI with
future CPython releases which do more complex reference counting (e.g.
immortal objects, freethreaded reference counting).</p>
<p>The <code>#[pymodule]</code> declarative module now supports directly
receiving options. (E.g. <code>#[pymodule(name =
"foo")]</code>, which would previously have been written as
two attributes <code>#[pymodule] #[pyo3(name =
"foo")]</code>.)</p>
<p>A compile error on Rust 1.78 related to use of
<code>c""</code> literals has been fixed.</p>
<p>Thank you to the following contributors for the improvements:</p>
<p><a
href="https://github.com/davidhewitt"><code>@davidhewitt</code></a>
<a href="https://github.com/FlickerSoul"><code>@FlickerSoul</code></a>
<a href="https://github.com/gi0baro"><code>@gi0baro</code></a>
<a href="https://github.com/Icxolu"><code>@Icxolu</code></a>
<a href="https://github.com/MatthijsKok"><code>@MatthijsKok</code></a>
<a href="https://github.com/styvane"><code>@styvane</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PyO3/pyo3/blob/v0.22.2/CHANGELOG.md">pyo3's
changelog</a>.</em></p>
<blockquote>
<h2>[0.22.2] - 2024-07-17</h2>
<h3>Packaging</h3>
<ul>
<li>Require opt-in to freethreaded Python using the
<code>UNSAFE_PYO3_BUILD_FREE_THREADED=1</code> environment variable (it
is not yet supported by PyO3). <a
href="https://redirect.github.com/PyO3/pyo3/pull/4327">#4327</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Use FFI function calls for reference counting on all abi3 versions.
<a href="https://redirect.github.com/PyO3/pyo3/pull/4324">#4324</a></li>
<li><code>#[pymodule(...)]</code> now directly accepts all relevant
<code>#[pyo3(...)]</code> options. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4330">#4330</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 compile failure due to c-string literals on Rust < 1.79. <a
href="https://redirect.github.com/PyO3/pyo3/pull/4353">#4353</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyO3/pyo3/commit/92b0f1579776952ceaa67e0423d3f94f69faccfe"><code>92b0f15</code></a>
release: 0.22.2</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/da9f52e8ccbe6d7e8a2c511390ec02f937adca07"><code>da9f52e</code></a>
only emit c-string literals on Rust 1.79 and later (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4352">#4352</a>) (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4353">#4353</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/3d7e5a3e9d798aefea71ef9c6b693625143027da"><code>3d7e5a3</code></a>
chore: update <code>ruff</code> configuration to resolve deprecation
warning (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4346">#4346</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/e2ebb729504ac8a8057b713c8a4494d75142ff43"><code>e2ebb72</code></a>
use FFI calls for refcounting on all abi3 versions (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4324">#4324</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/7e0fc302954f1991a1511fb7f08fa7bfa9396434"><code>7e0fc30</code></a>
allow <code>#[pymodule(...)]</code> to accept all relevant
<code>#[pyo3(...)]</code> options (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4330">#4330</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/63175709e1dc4ab37b84b4a2d5782abd3309eca6"><code>6317570</code></a>
remove <code>BuildFlag</code> member to avoid breaking change in
patch</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/7fed7c3babd270126688f420adb4de77482bdf10"><code>7fed7c3</code></a>
Prevent building in GIL-less environment (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4327">#4327</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/d99fc0608402452b4a67eff7feb5ba7766978f48"><code>d99fc06</code></a>
docs: fixups to 0.22 migration guide (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4332">#4332</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/613a70b241c9650f30559c1508f5ed1bec7d9ab2"><code>613a70b</code></a>
docs: use versioned links from docs to guide (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4331">#4331</a>)</li>
<li><a
href="https://github.com/PyO3/pyo3/commit/b50f1c33d9943bbc6a23e7fcfec550515ae5d2d8"><code>b50f1c3</code></a>
ci: check minimal-versions on MSRV feature powerset (<a
href="https://redirect.github.com/pyo3/pyo3/issues/4273">#4273</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyo3/pyo3/compare/v0.22.1...v0.22.2">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.1&new-version=0.22.2)](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:
868efb893f20f9de1b795a8d11ee7c19d353421a
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.2 to 0.5.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.2 to 0.5.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.5.2...0.5.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:
e169f9992705f6ea2af416d0ad6f0425514ea81e
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump pyo3 from 0.22.1 to 0.22.2
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.22.1 to 0.22.2.
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.22.2/CHANGELOG.md)
- [Commits](https://github.com/pyo3/pyo3/compare/v0.22.1...v0.22.2)
---
updated-dependencies:
- dependency-name: pyo3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
- Commit:
658ff2ae427fe23fca729a5cf396b555288b643e
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.1 to 0.5.2 (#1347)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.1 to 0.5.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.5.2</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Use <code>space</code> separator before parenthesized expressions in
comprehensions with leading comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12282">#12282</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC100</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12221">#12221</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC109</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12236">#12236</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC110</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12261">#12261</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC115</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12262">#12262</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC116</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12266">#12266</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-return</code>] Exempt properties from explicit return
rule (<code>RET501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12243">#12243</a>)</li>
<li>[<code>numpy</code>] Add <code>np.NAN</code>-to-<code>np.nan</code>
diagnostic (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12292">#12292</a>)</li>
<li>[<code>refurb</code>] Make <code>list-reverse-copy</code> an unsafe
fix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12303">#12303</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Consider <code>include</code> and <code>extend-include</code>
settings in native server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12252">#12252</a>)</li>
<li>Include nested configurations in settings reloading (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12253">#12253</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Omit code frames for fixes with empty ranges (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12304">#12304</a>)</li>
<li>Warn about formatter incompatibility for <code>D203</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12238">#12238</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Make cache-write failures non-fatal on Windows (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12302">#12302</a>)</li>
<li>Treat <code>not</code> operations as boolean tests (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12301">#12301</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid <code>S310</code> violations for
HTTP-safe f-strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12305">#12305</a>)</li>
<li>[<code>flake8-bandit</code>] Support explicit string concatenations
in S310 HTTP detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12315">#12315</a>)</li>
<li>[<code>flake8-bandit</code>] fix S113 false positive for httpx
without <code>timeout</code> argument (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12213">#12213</a>)</li>
<li>[<code>pycodestyle</code>] Remove "non-obvious" allowance
for E721 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12300">#12300</a>)</li>
<li>[<code>pyflakes</code>] Consider <code>with</code> blocks as
single-item branches for redefinition analysis (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12311">#12311</a>)</li>
<li>[<code>refurb</code>] Restrict forwarding for <code>newline</code>
argument in <code>open()</code> calls to Python versions >= 3.10 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12244">#12244</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update help and documentation to reflect <code>--output-format
full</code> default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12248">#12248</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Use more threads when discovering Python files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12258">#12258</a>)</li>
</ul>
<h2>Install ruff 0.5.2</h2>
<h3>Install prebuilt binaries via shell 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.5.2</h2>
<h3>Preview features</h3>
<ul>
<li>Use <code>space</code> separator before parenthesized expressions in
comprehensions with leading comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12282">#12282</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC100</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12221">#12221</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC109</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12236">#12236</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC110</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12261">#12261</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC115</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12262">#12262</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC116</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12266">#12266</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-return</code>] Exempt properties from explicit return
rule (<code>RET501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12243">#12243</a>)</li>
<li>[<code>numpy</code>] Add <code>np.NAN</code>-to-<code>np.nan</code>
diagnostic (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12292">#12292</a>)</li>
<li>[<code>refurb</code>] Make <code>list-reverse-copy</code> an unsafe
fix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12303">#12303</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Consider <code>include</code> and <code>extend-include</code>
settings in native server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12252">#12252</a>)</li>
<li>Include nested configurations in settings reloading (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12253">#12253</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Omit code frames for fixes with empty ranges (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12304">#12304</a>)</li>
<li>Warn about formatter incompatibility for <code>D203</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12238">#12238</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Make cache-write failures non-fatal on Windows (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12302">#12302</a>)</li>
<li>Treat <code>not</code> operations as boolean tests (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12301">#12301</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid <code>S310</code> violations for
HTTP-safe f-strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12305">#12305</a>)</li>
<li>[<code>flake8-bandit</code>] Support explicit string concatenations
in S310 HTTP detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12315">#12315</a>)</li>
<li>[<code>flake8-bandit</code>] fix S113 false positive for httpx
without <code>timeout</code> argument (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12213">#12213</a>)</li>
<li>[<code>pycodestyle</code>] Remove "non-obvious" allowance
for E721 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12300">#12300</a>)</li>
<li>[<code>pyflakes</code>] Consider <code>with</code> blocks as
single-item branches for redefinition analysis (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12311">#12311</a>)</li>
<li>[<code>refurb</code>] Restrict forwarding for <code>newline</code>
argument in <code>open()</code> calls to Python versions >= 3.10 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12244">#12244</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update help and documentation to reflect <code>--output-format
full</code> default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12248">#12248</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Use more threads when discovering Python files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12258">#12258</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/dc8db1afb08704ad6a788c497068b01edf8b460d"><code>dc8db1a</code></a>
Make some amendments to the v0.5.2 changelog (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12319">#12319</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/18c364d5df7701cb3a09bc4a41df8954f37b2a5d"><code>18c364d</code></a>
[<code>flake8-bandit</code>] Support explicit string concatenations in
S310 HTTP detecti...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7a7c601d5ed294a3c868b5e83f757105e0a189b8"><code>7a7c601</code></a>
Bump version to v0.5.2 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12316">#12316</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3bfbbbc78c24d9fed4b25e7f6ede7f68b35fb8fd"><code>3bfbbbc</code></a>
Avoid allocation when validating HTTP and HTTPS prefixes (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12313">#12313</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1a3ee45b236d93632289544ed54001d048064fbf"><code>1a3ee45</code></a>
[<code>flake8-bandit</code>] Avoid <code>S310</code> violations for
HTTP-safe f-strings (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12305">#12305</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/65848869d58aeeb12e1c77c4fc73ad0b4b941368"><code>6584886</code></a>
[<code>refurb</code>] Make <code>list-reverse-copy</code> an unsafe fix
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/12303">#12303</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/456d6a2fb201c697b18aa3d4a48f82c132548c19"><code>456d6a2</code></a>
Consider <code>with</code> blocks as single-item branches (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12311">#12311</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/940df67823dc5237f95d36a94ef3a74dc4bd36fb"><code>940df67</code></a>
Omit code frames for fixes with empty ranges (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12304">#12304</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e58713e2ac87a1203969dde29bf4f5509099acbd"><code>e58713e</code></a>
Make cache-write failures non-fatal (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12302">#12302</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/aa5c53b38b23a55780b5ccd00c8cea6e527b0ada"><code>aa5c53b</code></a>
Remove 'non-obvious' allowance for E721 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12300">#12300</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.1...0.5.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.5.1&new-version=0.5.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:
40cfda83c6f0eec44b441d40f2550e7bd4d6e268
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.1 to 0.5.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.1 to 0.5.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.5.1...0.5.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:
ccfdf960f70b08928a2ec978c595b6b7ce5bae55
- From:
- Jelmer Vernooij <jelmer@jelmer.uk>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.0 to 0.5.1 (#1344)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.0 to 0.5.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.5.1</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Implement mutable-contextvar-default
(B039) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12113">#12113</a>)</li>
<li>[<code>pycodestyle</code>] Whitespace after decorator
(<code>E204</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12140">#12140</a>)</li>
<li>[<code>pytest</code>] Reverse <code>PT001</code> and
<code>PT0023</code> defaults (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12106">#12106</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Enable token-based rules on source with syntax errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11950">#11950</a>)</li>
<li>[<code>flake8-bandit</code>] Detect <code>httpx</code> for
<code>S113</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12174">#12174</a>)</li>
<li>[<code>numpy</code>] Update <code>NPY201</code> to include exception
deprecations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12065">#12065</a>)</li>
<li>[<code>pylint</code>] Generate autofix for
<code>duplicate-bases</code> (<code>PLE0241</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12105">#12105</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Avoid syntax error notification for source code actions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12148">#12148</a>)</li>
<li>Consider the content of the new cells during notebook sync (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12203">#12203</a>)</li>
<li>Fix replacement edit range computation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12171">#12171</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Disable auto-fix when source has syntax errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12134">#12134</a>)</li>
<li>Fix cache key collisions for paths with separators (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12159">#12159</a>)</li>
<li>Make <code>requires-python</code> inference robust to
<code>==</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12091">#12091</a>)</li>
<li>Use char-wise width instead of <code>str</code>-width (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12135">#12135</a>)</li>
<li>[<code>pycodestyle</code>] Avoid <code>E275</code> if keyword
followed by comma (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12136">#12136</a>)</li>
<li>[<code>pycodestyle</code>] Avoid <code>E275</code> if keyword is
followed by a semicolon (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12095">#12095</a>)</li>
<li>[<code>pylint</code>] Skip <a
href="https://docs.astral.sh/ruff/settings/#lint_dummy-variable-rgx">dummy
variables</a> for <code>PLR1704</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12190">#12190</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Remove allocation in <code>parse_identifier</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12103">#12103</a>)</li>
<li>Use <code>CompactString</code> for <code>Identifier</code> AST node
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12101">#12101</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/Peiffap"><code>@Peiffap</code></a></li>
<li><a
href="https://github.com/ThomasFaivre"><code>@ThomasFaivre</code></a></li>
<li><a href="https://github.com/bersace"><code>@bersace</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/github-actions"><code>@github-actions</code></a></li>
<li><a href="https://github.com/jkauerl"><code>@jkauerl</code></a></li>
<li><a
href="https://github.com/mkniewallner"><code>@mkniewallner</code></a></li>
<li><a href="https://github.com/mtsokol"><code>@mtsokol</code></a></li>
<li><a
href="https://github.com/renovate"><code>@renovate</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.5.1</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Implement mutable-contextvar-default
(B039) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12113">#12113</a>)</li>
<li>[<code>pycodestyle</code>] Whitespace after decorator
(<code>E204</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12140">#12140</a>)</li>
<li>[<code>pytest</code>] Reverse <code>PT001</code> and
<code>PT0023</code> defaults (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12106">#12106</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Enable token-based rules on source with syntax errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11950">#11950</a>)</li>
<li>[<code>flake8-bandit</code>] Detect <code>httpx</code> for
<code>S113</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12174">#12174</a>)</li>
<li>[<code>numpy</code>] Update <code>NPY201</code> to include exception
deprecations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12065">#12065</a>)</li>
<li>[<code>pylint</code>] Generate autofix for
<code>duplicate-bases</code> (<code>PLE0241</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12105">#12105</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Avoid syntax error notification for source code actions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12148">#12148</a>)</li>
<li>Consider the content of the new cells during notebook sync (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12203">#12203</a>)</li>
<li>Fix replacement edit range computation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12171">#12171</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Disable auto-fix when source has syntax errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12134">#12134</a>)</li>
<li>Fix cache key collisions for paths with separators (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12159">#12159</a>)</li>
<li>Make <code>requires-python</code> inference robust to
<code>==</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12091">#12091</a>)</li>
<li>Use char-wise width instead of <code>str</code>-width (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12135">#12135</a>)</li>
<li>[<code>pycodestyle</code>] Avoid <code>E275</code> if keyword
followed by comma (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12136">#12136</a>)</li>
<li>[<code>pycodestyle</code>] Avoid <code>E275</code> if keyword is
followed by a semicolon (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12095">#12095</a>)</li>
<li>[<code>pylint</code>] Skip <a
href="https://docs.astral.sh/ruff/settings/#lint_dummy-variable-rgx">dummy
variables</a> for <code>PLR1704</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12190">#12190</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Remove allocation in <code>parse_identifier</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12103">#12103</a>)</li>
<li>Use <code>CompactString</code> for <code>Identifier</code> AST node
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12101">#12101</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/3a72400202642f0bb340fb2b1d1c31da2b6524dd"><code>3a72400</code></a>
Rename publish workflow file extension (<code>yaml</code> ->
<code>yml</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12206">#12206</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1b3bff03300b2c48f0ad6c7bd6b1038e2f1fce5a"><code>1b3bff0</code></a>
Bump version to 0.5.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12205">#12205</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0f6f73ecf3c2ebfe5b218edc0765886ccdca6f7f"><code>0f6f73e</code></a>
[red-knot] Require that <code>FileSystem</code> objects implement
<code>Debug</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12204">#12204</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7910beecc42b2694890b10011c27a3cbb2db3335"><code>7910bee</code></a>
Consider the content of the new cells during notebook sync (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12203">#12203</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f3ccd152e99d6bccfec58275c0b3b2ec3ffd5bdd"><code>f3ccd15</code></a>
Revert "Remove <code>--preview</code> as a required argument for
<code>ruff server</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12053">#12053</a>)"...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1e07bfa3730db9461f51b877bf71ea31e7dd56e4"><code>1e07bfa</code></a>
[<code>pycodestyle</code>] Whitespace after decorator
(<code>E204</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12140">#12140</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5e7ba056128c8bc272ab1a2a22c9cb94a5079361"><code>5e7ba05</code></a>
docs(*): fix a few typos, consistency issues and links (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12193">#12193</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d12570ea006d23a610e2410d9c70c3b3deae717c"><code>d12570e</code></a>
docs(options): fix some typos and improve consistency (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12191">#12191</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2f3264e148b9cf31e32c3137feb0f5ce9532d85b"><code>2f3264e</code></a>
fix(rules): skip dummy variables for <code>PLR1704</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12190">#12190</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e2e0889a303e8ce9953a2eb8a426921d08176c5f"><code>e2e0889</code></a>
[red-knot] Add very basic benchmark (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12182">#12182</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.0...0.5.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.0&new-version=0.5.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:
04763a65c811eefd93a776bb1bf1540e1973b418
- From:
- dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Bump ruff from 0.5.0 to 0.5.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.0 to 0.5.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.0...0.5.1)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>