Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build(deps-dev): bump ruff from 0.6.5 to 0.6.6 (#166)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.5 to 0.6.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.6.6</h2> <h2>Release Notes</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> <h2>Install ruff 0.6.6</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.6/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.6/ruff-installer.ps1 | iex" </code></pre> <h2>Download ruff 0.6.6</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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.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/d01cbf7f8f57cec8b790cdbb98f75172b64f2bc4"><code>d01cbf7</code></a> Bump version to v0.6.6 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13415">#13415</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/770b276c213e712e6ec5e65752475542543681d4"><code>770b276</code></a> Cache glob resolutions in import graph (<a href="https://redirect.github.com/astral-sh/ruff/issues/13413">#13413</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4e935f7d7d6d19bdec1b3dcacc3d55484fd654bc"><code>4e935f7</code></a> Add a subcommand to generate dependency graphs (<a href="https://redirect.github.com/astral-sh/ruff/issues/13402">#13402</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/260c2ecd15f09578b7d0027c2f34e77cd212c6f8"><code>260c2ec</code></a> [red-knot] visit with-item vars even if not a Name (<a href="https://redirect.github.com/astral-sh/ruff/issues/13409">#13409</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f110d80279f95d5a9d798b2991c895331311c20f"><code>f110d80</code></a> [refurb] Skip <code>slice-to-remove-prefix-or-suffix (FURB188)</code> when nontrivial sl...</li> <li><a href="https://github.com/astral-sh/ruff/commit/a6d3d2fccd57d2061f42db0f7f7690ea8a39f04c"><code>a6d3d2f</code></a> [red-knot] support reveal_type as pseudo-builtin (<a href="https://redirect.github.com/astral-sh/ruff/issues/13403">#13403</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/afdb6591118a20cd91fb194c794424e340663bd4"><code>afdb659</code></a> Fix off-by one error in the <code>LineIndex::offset</code> calculation (<a href="https://redirect.github.com/astral-sh/ruff/issues/13407">#13407</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a8d9104fa3a1351485fd0e41b0f28501e6890dd4"><code>a8d9104</code></a> Fix/<a href="https://redirect.github.com/astral-sh/ruff/issues/13070">#13070</a> defer annotations when future is active (<a href="https://redirect.github.com/astral-sh/ruff/issues/13395">#13395</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d3530ab9976956dda34cc4c29c94839d5de19953"><code>d3530ab</code></a> Fix rendering of FURB188 docs (<a href="https://redirect.github.com/astral-sh/ruff/issues/13406">#13406</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cf1e91bb595ff8c514b74228b9f0c58e61beffaa"><code>cf1e91b</code></a> [red-knot] simplify subtypes from unions (<a href="https://redirect.github.com/astral-sh/ruff/issues/13401">#13401</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.5...0.6.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.6.5&new-version=0.6.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>
- Loading branch information