Skip to content

Commit

Permalink
Bump ruff from 0.3.2 to 0.3.3 (#129)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.2 to 0.3.3.
<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.3.3</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>]: Implement <code>S610</code> rule (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10316">#10316</a>)</li>
<li>[<code>pycodestyle</code>] Implement
<code>blank-line-at-end-of-file</code> (<code>W391</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10243">#10243</a>)</li>
<li>[<code>pycodestyle</code>] Implement
<code>redundant-backslash</code> (<code>E502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10292">#10292</a>)</li>
<li>[<code>pylint</code>] - implement
<code>redeclared-assigned-name</code> (<code>W0128</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9268">#9268</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8_comprehensions</code>] Handled special case for
<code>C400</code> which also matches <code>C416</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10419">#10419</a>)</li>
<li>[<code>flake8-bandit</code>] Implement upstream updates for
<code>S311</code>, <code>S324</code> and <code>S605</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10313">#10313</a>)</li>
<li>[<code>pyflakes</code>] Remove <code>F401</code> fix for
<code>__init__</code> imports by default and allow opt-in to unsafe fix
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10365">#10365</a>)</li>
<li>[<code>pylint</code>] Implement
<code>invalid-bool-return-type</code> (<code>E304</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10377">#10377</a>)</li>
<li>[<code>pylint</code>] Include builtin warnings in
useless-exception-statement (<code>PLW0133</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10394">#10394</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add message on success to <code>ruff check</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8631">#8631</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>PIE970</code>] Allow trailing ellipsis in
<code>typing.TYPE_CHECKING</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10413">#10413</a>)</li>
<li>Avoid <code>TRIO115</code> if the argument is a variable (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10376">#10376</a>)</li>
<li>[<code>F811</code>] Avoid removing shadowed imports that point to
different symbols (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10387">#10387</a>)</li>
<li>Fix <code>F821</code> and <code>F822</code> false positives in
<code>.pyi</code> files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10341">#10341</a>)</li>
<li>Fix <code>F821</code> false negatives in <code>.py</code> files when
<code>from __future__ import annotations</code> is active (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10362">#10362</a>)</li>
<li>Fix case where <code>Indexer</code> fails to identify continuation
preceded by newline <a
href="https://redirect.github.com/astral-sh/ruff/issues/10351">#10351</a>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10354">#10354</a>)</li>
<li>Sort hash maps in <code>Settings</code> display (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10370">#10370</a>)</li>
<li>Track conditional deletions in the semantic model (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10415">#10415</a>)</li>
<li>[<code>C413</code>] Wrap expressions in parentheses when negating
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10346">#10346</a>)</li>
<li>[<code>pycodestyle</code>] Do not ignore lines before the first
logical line in blank lines rules. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10382">#10382</a>)</li>
<li>[<code>pycodestyle</code>] Do not trigger <code>E225</code> and
<code>E275</code> when the next token is a ')' (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10315">#10315</a>)</li>
<li>[<code>pylint</code>] Avoid false-positive slot non-assignment for
<code>__dict__</code> (<code>PLE0237</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10348">#10348</a>)</li>
<li>Gate f-string struct size test for Rustc &lt; 1.76 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10371">#10371</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Use <code>ruff.toml</code> format in README (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10393">#10393</a>)</li>
<li>[<code>RUF008</code>] Make it clearer that a mutable default in a
dataclass is only valid if it is typed as a ClassVar (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10395">#10395</a>)</li>
<li>[<code>pylint</code>] Extend docs and test in
<code>invalid-str-return-type</code> (<code>E307</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10400">#10400</a>)</li>
<li>Remove <code>.</code> from <code>check</code> and
<code>format</code> commands (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10217">#10217</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/Guilherme-Vasconcelos"><code>@​Guilherme-Vasconcelos</code></a></li>
<li><a
href="https://github.com/KotlinIsland"><code>@​KotlinIsland</code></a></li>
<li><a
href="https://github.com/anuraaga"><code>@​anuraaga</code></a></li>
</ul>
<!-- 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.3.3</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>]: Implement <code>S610</code> rule (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10316">#10316</a>)</li>
<li>[<code>pycodestyle</code>] Implement
<code>blank-line-at-end-of-file</code> (<code>W391</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10243">#10243</a>)</li>
<li>[<code>pycodestyle</code>] Implement
<code>redundant-backslash</code> (<code>E502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10292">#10292</a>)</li>
<li>[<code>pylint</code>] - implement
<code>redeclared-assigned-name</code> (<code>W0128</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9268">#9268</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8_comprehensions</code>] Handled special case for
<code>C400</code> which also matches <code>C416</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10419">#10419</a>)</li>
<li>[<code>flake8-bandit</code>] Implement upstream updates for
<code>S311</code>, <code>S324</code> and <code>S605</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10313">#10313</a>)</li>
<li>[<code>pyflakes</code>] Remove <code>F401</code> fix for
<code>__init__</code> imports by default and allow opt-in to unsafe fix
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10365">#10365</a>)</li>
<li>[<code>pylint</code>] Implement
<code>invalid-bool-return-type</code> (<code>E304</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10377">#10377</a>)</li>
<li>[<code>pylint</code>] Include builtin warnings in
useless-exception-statement (<code>PLW0133</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10394">#10394</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add message on success to <code>ruff check</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8631">#8631</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>PIE970</code>] Allow trailing ellipsis in
<code>typing.TYPE_CHECKING</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10413">#10413</a>)</li>
<li>Avoid <code>TRIO115</code> if the argument is a variable (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10376">#10376</a>)</li>
<li>[<code>F811</code>] Avoid removing shadowed imports that point to
different symbols (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10387">#10387</a>)</li>
<li>Fix <code>F821</code> and <code>F822</code> false positives in
<code>.pyi</code> files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10341">#10341</a>)</li>
<li>Fix <code>F821</code> false negatives in <code>.py</code> files when
<code>from __future__ import annotations</code> is active (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10362">#10362</a>)</li>
<li>Fix case where <code>Indexer</code> fails to identify continuation
preceded by newline <a
href="https://redirect.github.com/astral-sh/ruff/issues/10351">#10351</a>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10354">#10354</a>)</li>
<li>Sort hash maps in <code>Settings</code> display (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10370">#10370</a>)</li>
<li>Track conditional deletions in the semantic model (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10415">#10415</a>)</li>
<li>[<code>C413</code>] Wrap expressions in parentheses when negating
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10346">#10346</a>)</li>
<li>[<code>pycodestyle</code>] Do not ignore lines before the first
logical line in blank lines rules. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10382">#10382</a>)</li>
<li>[<code>pycodestyle</code>] Do not trigger <code>E225</code> and
<code>E275</code> when the next token is a ')' (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10315">#10315</a>)</li>
<li>[<code>pylint</code>] Avoid false-positive slot non-assignment for
<code>__dict__</code> (<code>PLE0237</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10348">#10348</a>)</li>
<li>Gate f-string struct size test for Rustc &lt; 1.76 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10371">#10371</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Use <code>ruff.toml</code> format in README (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10393">#10393</a>)</li>
<li>[<code>RUF008</code>] Make it clearer that a mutable default in a
dataclass is only valid if it is typed as a ClassVar (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10395">#10395</a>)</li>
<li>[<code>pylint</code>] Extend docs and test in
<code>invalid-str-return-type</code> (<code>E307</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10400">#10400</a>)</li>
<li>Remove <code>.</code> from <code>check</code> and
<code>format</code> commands (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10217">#10217</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/608df9a1bc0e6025049add877d1d833f1739e966"><code>608df9a</code></a>
Bump version to 0.3.3 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10425">#10425</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/740c08b033d835f071e4887cea2f608d6cc662c6"><code>740c08b</code></a>
[<code>pylint</code>] - implement <code>redeclared-assigned-name</code>
(<code>W0128</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9268">#9268</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7e652e8fcb7e9a4c331d8b8829adbf135154fa0f"><code>7e652e8</code></a>
[<code>flake8_comprehensions</code>] Handled special case for
<code>C400</code> which also matches ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9675e1867a73e536a609e971f2e823c799771afc"><code>9675e18</code></a>
Allow trailing ellipsis in <code>typing.TYPE_CHECKING</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10413">#10413</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/10ace88e9a7423271441ba314e788daee53e00f0"><code>10ace88</code></a>
Track conditional deletions in the semantic model (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10415">#10415</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a8e50a7f40b2883b904d9ba347ef01c466179a75"><code>a8e50a7</code></a>
[RUF008] Make it clearer that a mutable default in a dataclass is only
valid ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e944c16c4601af3b503f2ac19d3f9266aae7660d"><code>e944c16</code></a>
[<code>pycodestyle</code>] Do not ignore lines before the first logical
line in blank li...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5f40371ffc2073fec7e66c3014bb1f765845bfd1"><code>5f40371</code></a>
Use <code>ExprFString</code> for <code>StringLike::FString</code>
variant (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10311">#10311</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f7802ad5dea287f3c853ffaf14a8b2c5dd7daa67"><code>f7802ad</code></a>
[<code>pylint</code>] Extend docs and test in
<code>invalid-str-return-type</code> (<code>E307</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10400">#10400</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e832327a56be73d48733506863711a3740f15877"><code>e832327</code></a>
Require --preview for <code>ruff server</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10368">#10368</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.3.2...v0.3.3">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.3.2&new-version=0.3.3)](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 Mar 18, 2024
1 parent 673bef6 commit 6f94ee4
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions poetry.lock

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

0 comments on commit 6f94ee4

Please sign in to comment.