Skip to content

Commit

Permalink
Bump ruff from 0.4.3 to 0.4.4 (#255)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.3 to 0.4.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>v0.4.4</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pycodestyle</code>] Ignore end-of-line comments when
determining blank line rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11342">#11342</a>)</li>
<li>[<code>pylint</code>] Detect <code>pathlib.Path.open</code> calls in
<code>unspecified-encoding</code> (<code>PLW1514</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11288">#11288</a>)</li>
<li>[<code>flake8-pyi</code>] Implement <code>PYI059</code>
(<code>generic-not-last-base-class</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11233">#11233</a>)</li>
<li>[<code>flake8-pyi</code>] Implement <code>PYI062</code>
(<code>duplicate-literal-member</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11269">#11269</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-boolean-trap</code>] Allow passing booleans as
positional-only arguments in code such as <code>set(True)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11287">#11287</a>)</li>
<li>[<code>flake8-bugbear</code>] Ignore enum classes in
<code>cached-instance-method</code> (<code>B019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11312">#11312</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Expand tildes when resolving Ruff server configuration file (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11283">#11283</a>)</li>
<li>Fix <code>ruff server</code> hanging after Neovim closes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11291">#11291</a>)</li>
<li>Editor settings are used by default if no file-based configuration
exists (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11266">#11266</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pylint</code>] Consider <code>with</code> statements for
<code>too-many-branches</code> (<code>PLR0912</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11321">#11321</a>)</li>
<li>[<code>flake8-blind-except</code>, <code>tryceratops</code>] Respect
logged and re-raised expressions in nested statements
(<code>BLE001</code>, <code>TRY201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11301">#11301</a>)</li>
<li>Recognise assignments such as <code>__all__ =
builtins.list([&quot;foo&quot;, &quot;bar&quot;])</code> as valid
<code>__all__</code> definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11335">#11335</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/Abdur-rahmaanJ"><code>@​Abdur-rahmaanJ</code></a></li>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
<li><a href="https://github.com/KPCOFGS"><code>@​KPCOFGS</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/blueraft"><code>@​blueraft</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
<li><a
href="https://github.com/carloshbcabral"><code>@​carloshbcabral</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/renovate"><code>@​renovate</code></a></li>
<li><a
href="https://github.com/snowsignal"><code>@​snowsignal</code></a></li>
<li><a
href="https://github.com/tusharsadhwani"><code>@​tusharsadhwani</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.4</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pycodestyle</code>] Ignore end-of-line comments when
determining blank line rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11342">#11342</a>)</li>
<li>[<code>pylint</code>] Detect <code>pathlib.Path.open</code> calls in
<code>unspecified-encoding</code> (<code>PLW1514</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11288">#11288</a>)</li>
<li>[<code>flake8-pyi</code>] Implement <code>PYI059</code>
(<code>generic-not-last-base-class</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11233">#11233</a>)</li>
<li>[<code>flake8-pyi</code>] Implement <code>PYI062</code>
(<code>duplicate-literal-member</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11269">#11269</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-boolean-trap</code>] Allow passing booleans as
positional-only arguments in code such as <code>set(True)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11287">#11287</a>)</li>
<li>[<code>flake8-bugbear</code>] Ignore enum classes in
<code>cached-instance-method</code> (<code>B019</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11312">#11312</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Expand tildes when resolving Ruff server configuration file (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11283">#11283</a>)</li>
<li>Fix <code>ruff server</code> hanging after Neovim closes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11291">#11291</a>)</li>
<li>Editor settings are used by default if no file-based configuration
exists (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11266">#11266</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pylint</code>] Consider <code>with</code> statements for
<code>too-many-branches</code> (<code>PLR0912</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11321">#11321</a>)</li>
<li>[<code>flake8-blind-except</code>, <code>tryceratops</code>] Respect
logged and re-raised expressions in nested statements
(<code>BLE001</code>, <code>TRY201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11301">#11301</a>)</li>
<li>Recognise assignments such as <code>__all__ =
builtins.list([&quot;foo&quot;, &quot;bar&quot;])</code> as valid
<code>__all__</code> definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11335">#11335</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/3e8878a1c852399dffedb0236097afcfb4780b81"><code>3e8878a</code></a>
Bump version to v0.4.4 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11352">#11352</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b6b4ad99497b65ebc6b8c21944fe41115c32477a"><code>b6b4ad9</code></a>
[red-knot] <a
href="https://github.com/override"><code>@​override</code></a> lint rule
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/11282">#11282</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dd42961dd9d85a3e70baf1acf0bdd60db4393455"><code>dd42961</code></a>
[<code>pylint</code>] Detect <code>pathlib.Path.open</code> calls in
<code>unspecified-encoding</code> (`PLW15...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c80c1712f05b0843976f439124b4678023c14e93"><code>c80c171</code></a>
[red-knot] Vendor typeshed's stdlib (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11340">#11340</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e2fe177c6b4e867d59409c809781a7d6922e778a"><code>e2fe177</code></a>
Revert &quot;Simplify arithmetic operation in logical lines checker (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11346">#11346</a>)&quot;
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/11">#11</a>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e9d1cddc97572b7bb255f1b6db993e56c0cbdba2"><code>e9d1cdd</code></a>
Simplify arithmetic operation in logical lines checker (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11346">#11346</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dfe4291c0b7249ae892f5f1d513e6f1404436c13"><code>dfe4291</code></a>
Improve <code>ruff_python_semantic::all::extract_all_names()</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11335">#11335</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4541337f3d3d0c09fe09910b6324ebe4f61111d9"><code>4541337</code></a>
[red-knot] Remove <code>\&lt;Db: SemanticDb&gt;</code> contraints in
favor of dynamic dispatch ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8e9ddee392326832016d3a10285b55bf9e2a8319"><code>8e9ddee</code></a>
Ignore end-of-line comments when determining blank line rules (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11342">#11342</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/702d2fa1eb93009a662d33f5805fc12ddac69b4f"><code>702d2fa</code></a>
Make B024 and B027 documentation more nuanced (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11341">#11341</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.4.3...v0.4.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.4.3&new-version=0.4.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>
  • Loading branch information
github-actions[bot] authored May 10, 2024
2 parents 7541206 + d24a10b commit 3fe9f42
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 @@ -39,7 +39,7 @@ mypy = "^1.4"
bump2version = "^1.0.1"

[tool.poetry.group.dev.dependencies]
ruff = ">=0.0.274,<0.4.4"
ruff = ">=0.0.274,<0.4.5"
ruff-lsp = ">=0.0.35,<0.0.41"
python-lsp-server = "^1.7.3"

Expand Down

0 comments on commit 3fe9f42

Please sign in to comment.