Skip to content

Commit

Permalink
Bump ruff from 0.6.5 to 0.6.7 (#108)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.5 to 0.6.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.6.7</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Add Python version support to ruff analyze CLI (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13426">#13426</a>)</li>
<li>Add <code>exclude</code> support to <code>ruff analyze</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13425">#13425</a>)</li>
<li>Fix parentheses around return type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13381">#13381</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Fix: Don't autofix if the first line ends
in a question mark? (D400) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13399">#13399</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Respect <code>lint.exclude</code> in ruff check
<code>--add-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13427">#13427</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid tracking module resolver files in Salsa (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13437">#13437</a>)</li>
<li>Use <code>forget</code> for module resolver database (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13438">#13438</a>)</li>
</ul>
<h2>Install ruff 0.6.7</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c &quot;irm
https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-installer.ps1
| iex&quot;
</code></pre>
<h2>Download ruff 0.6.7</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-pc-windows-msvc.zip">ruff-aarch64-pc-windows-msvc.zip</a></td>
<td>ARM64 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-pc-windows-msvc.zip">ruff-i686-pc-windows-msvc.zip</a></td>
<td>x86 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-pc-windows-msvc.zip">ruff-x86_64-pc-windows-msvc.zip</a></td>
<td>x64 Windows</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-unknown-linux-gnu.tar.gz">ruff-aarch64-unknown-linux-gnu.tar.gz</a></td>
<td>ARM64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-aarch64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-unknown-linux-gnu.tar.gz">ruff-i686-unknown-linux-gnu.tar.gz</a></td>
<td>x86 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-i686-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64-unknown-linux-gnu.tar.gz">ruff-powerpc64-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64 Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64le-unknown-linux-gnu.tar.gz">ruff-powerpc64le-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64LE Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-powerpc64le-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-s390x-unknown-linux-gnu.tar.gz">ruff-s390x-unknown-linux-gnu.tar.gz</a></td>
<td>S390x Linux</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-s390x-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.6.7</h2>
<h3>Preview features</h3>
<ul>
<li>Add Python version support to ruff analyze CLI (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13426">#13426</a>)</li>
<li>Add <code>exclude</code> support to <code>ruff analyze</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13425">#13425</a>)</li>
<li>Fix parentheses around return type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13381">#13381</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Fix: Don't autofix if the first line ends
in a question mark? (D400) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13399">#13399</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Respect <code>lint.exclude</code> in ruff check
<code>--add-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13427">#13427</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid tracking module resolver files in Salsa (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13437">#13437</a>)</li>
<li>Use <code>forget</code> for module resolver database (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13438">#13438</a>)</li>
</ul>
<h2>0.6.6</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>refurb</code>] Skip
<code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>)
when non-trivial slice steps are present (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13405">#13405</a>)</li>
<li>Add a subcommand to generate dependency graphs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13402">#13402</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix placement of inline parameter comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13379">#13379</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix off-by one error in the <code>LineIndex::offset</code>
calculation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13407">#13407</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>fastapi</code>] Respect FastAPI aliases in route definitions
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13394">#13394</a>)</li>
<li>[<code>pydocstyle</code>] Respect word boundaries when detecting
function signature in docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13388">#13388</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add backlinks to rule overview linter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13368">#13368</a>)</li>
<li>Fix documentation for editor vim plugin ALE (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13348">#13348</a>)</li>
<li>Fix rendering of <code>FURB188</code> docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13406">#13406</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/17c4690b5ead2872ed8035d9a03a2af0cb0a1fa1"><code>17c4690</code></a>
Bump version to v0.6.7 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13439">#13439</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f06d44e6e5cea8d83b904ed06dcbf721fcd3bc5f"><code>f06d44e</code></a>
Use <code>forget</code> for module resolver database (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13438">#13438</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/653c09001a7fb09324c101fd669c9568d047d82c"><code>653c090</code></a>
Use an empty vendored file system in Ruff (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13436">#13436</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8921fbb54cda836d76b08e8187f757b58ad739ef"><code>8921fbb</code></a>
<code>vendored_typeshed_versions</code> should use
<code>db.vendored</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13434">#13434</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3018303c8759b3e96d075c62eeb8b8ef24b4d0c3"><code>3018303</code></a>
Avoid parsing with Salsa (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13437">#13437</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6c303b24455f26ff08859affc080e43e1206ea6c"><code>6c303b2</code></a>
red-knot: Add not unary operator for boolean literals (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13422">#13422</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7579a792c75265c1299ca95bf6d1458d7cc56c81"><code>7579a79</code></a>
Add test coverage for non-Python globs (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13430">#13430</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0bbc13803768c97af9be783e692cd2c45c1175a9"><code>0bbc138</code></a>
Upgrade to latest <code>cargo-dist</code> version (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13416">#13416</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ff11db61b40958fb39cfa6b53004614bd74087b3"><code>ff11db6</code></a>
Add Python version support to ruff analyze CLI (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13426">#13426</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2823487bf8021ac81be0e8c4825731f87ccacb0a"><code>2823487</code></a>
Respect <code>lint.exclude</code> in ruff check <code>--add-noqa</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/13427">#13427</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.5...0.6.7">compare
view</a></li>
</ul>
</details>
<br />


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

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 23, 2024
1 parent e305a04 commit d4503dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test = [
lint = [
"black==24.8.0",
"pre-commit==3.8.0",
"ruff==0.6.5",
"ruff==0.6.7",
"djlint==1.35.2",
]

Expand Down

0 comments on commit d4503dc

Please sign in to comment.