Skip to content

Commit

Permalink
pip prod(deps): bump ruff from 0.5.1 to 0.5.2 (#2883)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.1 to 0.5.2.
<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.5.2</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Use <code>space</code> separator before parenthesized expressions in
comprehensions with leading comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12282">#12282</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC100</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12221">#12221</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC109</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12236">#12236</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC110</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12261">#12261</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC115</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12262">#12262</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC116</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12266">#12266</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-return</code>] Exempt properties from explicit return
rule (<code>RET501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12243">#12243</a>)</li>
<li>[<code>numpy</code>] Add <code>np.NAN</code>-to-<code>np.nan</code>
diagnostic (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12292">#12292</a>)</li>
<li>[<code>refurb</code>] Make <code>list-reverse-copy</code> an unsafe
fix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12303">#12303</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Consider <code>include</code> and <code>extend-include</code>
settings in native server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12252">#12252</a>)</li>
<li>Include nested configurations in settings reloading (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12253">#12253</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Omit code frames for fixes with empty ranges (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12304">#12304</a>)</li>
<li>Warn about formatter incompatibility for <code>D203</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12238">#12238</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Make cache-write failures non-fatal on Windows (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12302">#12302</a>)</li>
<li>Treat <code>not</code> operations as boolean tests (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12301">#12301</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid <code>S310</code> violations for
HTTP-safe f-strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12305">#12305</a>)</li>
<li>[<code>flake8-bandit</code>] Support explicit string concatenations
in S310 HTTP detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12315">#12315</a>)</li>
<li>[<code>flake8-bandit</code>] fix S113 false positive for httpx
without <code>timeout</code> argument (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12213">#12213</a>)</li>
<li>[<code>pycodestyle</code>] Remove &quot;non-obvious&quot; allowance
for E721 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12300">#12300</a>)</li>
<li>[<code>pyflakes</code>] Consider <code>with</code> blocks as
single-item branches for redefinition analysis (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12311">#12311</a>)</li>
<li>[<code>refurb</code>] Restrict forwarding for <code>newline</code>
argument in <code>open()</code> calls to Python versions &gt;= 3.10 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12244">#12244</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update help and documentation to reflect <code>--output-format
full</code> default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12248">#12248</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Use more threads when discovering Python files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12258">#12258</a>)</li>
</ul>
<h2>Install ruff 0.5.2</h2>
<h3>Install prebuilt binaries via shell script</h3>
<!-- 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.5.2</h2>
<h3>Preview features</h3>
<ul>
<li>Use <code>space</code> separator before parenthesized expressions in
comprehensions with leading comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12282">#12282</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC100</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12221">#12221</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC109</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12236">#12236</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC110</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12261">#12261</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC115</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12262">#12262</a>)</li>
<li>[<code>flake8-async</code>] Update <code>ASYNC116</code> to include
<code>anyio</code> and <code>asyncio</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12266">#12266</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-return</code>] Exempt properties from explicit return
rule (<code>RET501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12243">#12243</a>)</li>
<li>[<code>numpy</code>] Add <code>np.NAN</code>-to-<code>np.nan</code>
diagnostic (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12292">#12292</a>)</li>
<li>[<code>refurb</code>] Make <code>list-reverse-copy</code> an unsafe
fix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12303">#12303</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Consider <code>include</code> and <code>extend-include</code>
settings in native server (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12252">#12252</a>)</li>
<li>Include nested configurations in settings reloading (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12253">#12253</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Omit code frames for fixes with empty ranges (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12304">#12304</a>)</li>
<li>Warn about formatter incompatibility for <code>D203</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12238">#12238</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Make cache-write failures non-fatal on Windows (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12302">#12302</a>)</li>
<li>Treat <code>not</code> operations as boolean tests (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12301">#12301</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid <code>S310</code> violations for
HTTP-safe f-strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12305">#12305</a>)</li>
<li>[<code>flake8-bandit</code>] Support explicit string concatenations
in S310 HTTP detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12315">#12315</a>)</li>
<li>[<code>flake8-bandit</code>] fix S113 false positive for httpx
without <code>timeout</code> argument (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12213">#12213</a>)</li>
<li>[<code>pycodestyle</code>] Remove &quot;non-obvious&quot; allowance
for E721 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12300">#12300</a>)</li>
<li>[<code>pyflakes</code>] Consider <code>with</code> blocks as
single-item branches for redefinition analysis (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12311">#12311</a>)</li>
<li>[<code>refurb</code>] Restrict forwarding for <code>newline</code>
argument in <code>open()</code> calls to Python versions &gt;= 3.10 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12244">#12244</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update help and documentation to reflect <code>--output-format
full</code> default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12248">#12248</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Use more threads when discovering Python files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12258">#12258</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/dc8db1afb08704ad6a788c497068b01edf8b460d"><code>dc8db1a</code></a>
Make some amendments to the v0.5.2 changelog (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12319">#12319</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/18c364d5df7701cb3a09bc4a41df8954f37b2a5d"><code>18c364d</code></a>
[<code>flake8-bandit</code>] Support explicit string concatenations in
S310 HTTP detecti...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7a7c601d5ed294a3c868b5e83f757105e0a189b8"><code>7a7c601</code></a>
Bump version to v0.5.2 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12316">#12316</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3bfbbbc78c24d9fed4b25e7f6ede7f68b35fb8fd"><code>3bfbbbc</code></a>
Avoid allocation when validating HTTP and HTTPS prefixes (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12313">#12313</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1a3ee45b236d93632289544ed54001d048064fbf"><code>1a3ee45</code></a>
[<code>flake8-bandit</code>] Avoid <code>S310</code> violations for
HTTP-safe f-strings (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12305">#12305</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/65848869d58aeeb12e1c77c4fc73ad0b4b941368"><code>6584886</code></a>
[<code>refurb</code>] Make <code>list-reverse-copy</code> an unsafe fix
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/12303">#12303</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/456d6a2fb201c697b18aa3d4a48f82c132548c19"><code>456d6a2</code></a>
Consider <code>with</code> blocks as single-item branches (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12311">#12311</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/940df67823dc5237f95d36a94ef3a74dc4bd36fb"><code>940df67</code></a>
Omit code frames for fixes with empty ranges (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12304">#12304</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e58713e2ac87a1203969dde29bf4f5509099acbd"><code>e58713e</code></a>
Make cache-write failures non-fatal (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12302">#12302</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/aa5c53b38b23a55780b5ccd00c8cea6e527b0ada"><code>aa5c53b</code></a>
Remove 'non-obvious' allowance for E721 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12300">#12300</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.1...0.5.2">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.5.1&new-version=0.5.2)](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 Jul 15, 2024
1 parent 75b78ec commit 5e9eeed
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 @@ -28,7 +28,7 @@ dev = [
"lit<19.0.0",
"marimo==0.7.3",
"pre-commit==3.7.1",
"ruff==0.5.1",
"ruff==0.5.2",
"asv<0.7",
"isort==5.13.2",
"nbconvert>=7.7.2,<8.0.0",
Expand Down

0 comments on commit 5e9eeed

Please sign in to comment.