Skip to content

Commit

Permalink
Bump ruff from 0.4.8 to 0.4.9 (#374)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.8 to 0.4.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.9</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>consider-dict-items</code>
(<code>C0206</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11688">#11688</a>)</li>
<li>[<code>refurb</code>] Implement <code>repeated-global</code>
(<code>FURB154</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11187">#11187</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Adapt fix for <code>E203</code> to work
identical to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10999">#10999</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix formatter instability for lines only consisting of zero-width
characters (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11748">#11748</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Add supported commands in server capabilities (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11850">#11850</a>)</li>
<li>Use real file path when available in <code>ruff server</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11800">#11800</a>)</li>
<li>Improve error message when a command is run on an unavailable
document (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11823">#11823</a>)</li>
<li>Introduce the <code>ruff.printDebugInformation</code> command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11831">#11831</a>)</li>
<li>Tracing system now respects log level and trace level, with options
to log to a file (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11747">#11747</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Handle non-printable characters in diff view (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11687">#11687</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>refurb</code>] Avoid suggesting starmap when arguments are
used outside call (<code>FURB140</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11830">#11830</a>)</li>
<li>[<code>flake8-bugbear</code>] Avoid panic in <code>B909</code> when
checking large loop blocks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11772">#11772</a>)</li>
<li>[<code>refurb</code>] Fix misbehavior of
<code>operator.itemgetter</code> when getter param is a tuple
(<code>FURB118</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11774">#11774</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/Embers-of-the-Fire"><code>@​Embers-of-the-Fire</code></a></li>
<li><a
href="https://github.com/LukasMasuch"><code>@​LukasMasuch</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/Philipp-Thiel"><code>@​Philipp-Thiel</code></a></li>
<li><a
href="https://github.com/alex-700"><code>@​alex-700</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/max-muoto"><code>@​max-muoto</code></a></li>
<li><a href="https://github.com/pilleye"><code>@​pilleye</code></a></li>
<li><a
href="https://github.com/renovate"><code>@​renovate</code></a></li>
<li><a
href="https://github.com/snowsignal"><code>@​snowsignal</code></a></li>
<li><a href="https://github.com/starsep"><code>@​starsep</code></a></li>
<li><a href="https://github.com/yairp03"><code>@​yairp03</code></a></li>
</ul>
</blockquote>
</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.4.9</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>consider-dict-items</code>
(<code>C0206</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11688">#11688</a>)</li>
<li>[<code>refurb</code>] Implement <code>repeated-global</code>
(<code>FURB154</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11187">#11187</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Adapt fix for <code>E203</code> to work
identical to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10999">#10999</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix formatter instability for lines only consisting of zero-width
characters (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11748">#11748</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Add supported commands in server capabilities (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11850">#11850</a>)</li>
<li>Use real file path when available in <code>ruff server</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11800">#11800</a>)</li>
<li>Improve error message when a command is run on an unavailable
document (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11823">#11823</a>)</li>
<li>Introduce the <code>ruff.printDebugInformation</code> command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11831">#11831</a>)</li>
<li>Tracing system now respects log level and trace level, with options
to log to a file (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11747">#11747</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Handle non-printable characters in diff view (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11687">#11687</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>refurb</code>] Avoid suggesting starmap when arguments are
used outside call (<code>FURB140</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11830">#11830</a>)</li>
<li>[<code>flake8-bugbear</code>] Avoid panic in <code>B909</code> when
checking large loop blocks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11772">#11772</a>)</li>
<li>[<code>refurb</code>] Fix misbehavior of
<code>operator.itemgetter</code> when getter param is a tuple
(<code>FURB118</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11774">#11774</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/4f49e918a9154de16145d77217a4af2b8ce38297"><code>4f49e91</code></a>
Bump version to v0.4.9 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11872">#11872</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d681a45b08e20a77a42ae74d5c0f91fd0482079c"><code>d681a45</code></a>
Make <code>ruff_db</code> a required crate for
<code>ruff_python_semantic</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11874">#11874</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/89bb07c251474399607de9d278cb70902c8a0106"><code>89bb07c</code></a>
UPDATE latest supported versions to 3.13 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11870">#11870</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fe462b30e7af2a089016e45c3faa7dc2ea2ea3ae"><code>fe462b3</code></a>
Update Python compatibility to 3.13 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11861">#11861</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c5bc368e430a30cb1d58d130c3d8eb2a1fe34d0a"><code>c5bc368</code></a>
[red-knot] Improve <code>Vfs</code> and <code>FileSystem</code>
documentation (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11856">#11856</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/73370fe7982c789ae91a95fba3e45cc6a054849e"><code>73370fe</code></a>
Use <code>starts_with('/')</code> instead of <code>is_absolute</code> to
avoid platform specific AP...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/22b6488550b9cb268eafe5161269952aca0df73b"><code>22b6488</code></a>
red-knot: Add directory support to <code>MemoryFileSystem</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11825">#11825</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d4dd96d1f4a78d75e598c9cdfb778c88c21742d7"><code>d4dd96d</code></a>
red-knot: <code>source_text</code>, <code>line_index</code>, and
<code>parsed_module</code> queries (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11822">#11822</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/efbf7b14b5060475f0a0bf7753ff8426e2e3b875"><code>efbf7b1</code></a>
red-knot[salsa part 2]: Setup semantic DB and Jar (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11837">#11837</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9dc226be9793592262ac9fc6d8fab195f33f36b2"><code>9dc226b</code></a>
Add supported commands in server capabilities (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11850">#11850</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.4.8...v0.4.9">compare
view</a></li>
</ul>
</details>
<br />


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

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

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

---

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

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


</details>
  • Loading branch information
github-actions[bot] committed Jun 17, 2024
2 parents 272a67d + 79cdf8f commit cb3dba4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 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 @@ -31,7 +31,7 @@ mypy = "^1.3.0"
black = ">=23.3,<25.0"
isort = "^5.12.0"
pre-commit = "^3.3.2"
ruff = ">=0.0.269,<0.4.9"
ruff = ">=0.0.269,<0.4.10"

[tool.poetry.group.test.dependencies]
pydantic = ">=1.10.8,<3.0.0"
Expand Down

0 comments on commit cb3dba4

Please sign in to comment.