Skip to content

Commit

Permalink
Bump ruff from 0.7.1 to 0.7.2 (#501)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.1 to 0.7.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.7.2</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Fix formatting of single with-item with trailing comment (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14005">#14005</a>)</li>
<li>[<code>pyupgrade</code>] Add PEP 646 <code>Unpack</code> conversion
to <code>*</code> with fix (<code>UP044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13988">#13988</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Regenerate <code>known_stdlibs.rs</code> with stdlibs 2024.10.25 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13963">#13963</a>)</li>
<li>[<code>flake8-no-pep420</code>] Skip namespace package enforcement
for PEP 723 scripts (<code>INP001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13974">#13974</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix server panic when undoing an edit (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14010">#14010</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix issues in discovering ruff in pip build environments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13881">#13881</a>)</li>
<li>[<code>flake8-type-checking</code>] Fix false positive for
<code>singledispatchmethod</code> (<code>TCH003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13941">#13941</a>)</li>
<li>[<code>flake8-type-checking</code>] Treat return type of
<code>singledispatch</code> as runtime-required (<code>TCH003</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13957">#13957</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-simplify</code>] Include caveats of enabling
<code>if-else-block-instead-of-if-exp</code> (<code>SIM108</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14019">#14019</a>)</li>
</ul>
<h2>Install ruff 0.7.2</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.7.2/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c &quot;irm
https://github.com/astral-sh/ruff/releases/download/0.7.2/ruff-installer.ps1
| iex&quot;
</code></pre>
<h2>Download ruff 0.7.2</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.7.2/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.7.2/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.7.2/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.7.2/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.7.2/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.7.2/ruff-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.7.2/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.7.2/ruff-i686-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.7.2/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.7.2/ruff-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.7.2</h2>
<h3>Preview features</h3>
<ul>
<li>Fix formatting of single with-item with trailing comment (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14005">#14005</a>)</li>
<li>[<code>pyupgrade</code>] Add PEP 646 <code>Unpack</code> conversion
to <code>*</code> with fix (<code>UP044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13988">#13988</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Regenerate <code>known_stdlibs.rs</code> with stdlibs 2024.10.25 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13963">#13963</a>)</li>
<li>[<code>flake8-no-pep420</code>] Skip namespace package enforcement
for PEP 723 scripts (<code>INP001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13974">#13974</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix server panic when undoing an edit (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14010">#14010</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix issues in discovering ruff in pip build environments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13881">#13881</a>)</li>
<li>[<code>flake8-type-checking</code>] Fix false positive for
<code>singledispatchmethod</code> (<code>TCH003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13941">#13941</a>)</li>
<li>[<code>flake8-type-checking</code>] Treat return type of
<code>singledispatch</code> as runtime-required (<code>TCH003</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13957">#13957</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-simplify</code>] Include caveats of enabling
<code>if-else-block-instead-of-if-exp</code> (<code>SIM108</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/14019">#14019</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/11c3b52fd5e8a2f39d3e21faebd76fdbaf3d748b"><code>11c3b52</code></a>
generate using cargo-dist</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a388e49f38d0f9f0a775b7e693f7a3657e6ef853"><code>a388e49</code></a>
Temporary comment out certain release steps</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/099f077311c637df2866ebbe6407896ff25ffd15"><code>099f077</code></a>
[docs] Add rule short code to mkdocs tags (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14040">#14040</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/85747519113c2447e75668ab2d89c3b498961ea5"><code>8574751</code></a>
Give non-existent files a durability of at least Medium (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14034">#14034</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ddae741b72b7d9acde3f7a1283470ed34d8aef63"><code>ddae741</code></a>
Switch to <code>uv publish</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14042">#14042</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5053d2c127559aabced1491401356474d274dd22"><code>5053d2c</code></a>
Doc: markdown link fix (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14041">#14041</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ef72fd79a71a0fbdcc489fad1e951ca7b2cede5d"><code>ef72fd7</code></a>
Bump version to 0.7.2 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14039">#14039</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/658a51ea1017d221cfb928f7a49527326682c1b9"><code>658a51e</code></a>
Fix typo for static method decorator (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14038">#14038</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7c2da4f06e7c26712b233d030577812526e2ac72"><code>7c2da4f</code></a>
Sync vendored typeshed stubs (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14030">#14030</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/48fa839c80795b1fbebc8ad9f70a3d76d1167277"><code>48fa839</code></a>
Use named function in incremental red knot benchmark (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14033">#14033</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.7.1...0.7.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.7.1&new-version=0.7.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>
  • Loading branch information
github-actions[bot] authored Nov 4, 2024
2 parents 24c8864 + dc30981 commit 5da4408
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ boto3 = "^1.26.163"
pytest = ">=7.4,<9.0"
moto = ">=4.1.12,<6.0.0"
black = ">=23.3,<25.0"
ruff = ">=0.5.1,<0.7.2"
ruff = ">=0.5.1,<0.7.3"
yapf = "^0.40.1"

[build-system]
Expand Down

0 comments on commit 5da4408

Please sign in to comment.