Skip to content

Commit

Permalink
Bump ruff from 0.0.259 to 0.0.261 (#99)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.259 to
0.0.261.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/charliermarsh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>v0.0.261</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Rules</h3>
<ul>
<li>[<code>flake8-simplify</code>] Ignore <code>collapsible-if</code>
violations for <code>if False:</code> and <code>if True:</code> by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3732">charliermarsh/ruff#3732</a></li>
<li>[<code>flake8-pie</code>] Extend
<code>unncessary-generator-any-all</code> to set comprehensions by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3824">charliermarsh/ruff#3824</a></li>
<li>[<code>flake8-simplify</code>] Implement
<code>dict-get-with-none-default</code> (<code>SIM910</code>) by <a
href="https://github.com/kyoto7250"><code>@​kyoto7250</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3874">charliermarsh/ruff#3874</a></li>
<li>[<code>flake8-annotations</code>] Additional simple magic return
types by <a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3805">charliermarsh/ruff#3805</a></li>
<li>[<code>flake8-pyi</code>]: fix PYI015 false positive on assignment
of TypeVar &amp; friends by <a
href="https://github.com/bluetech"><code>@​bluetech</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3861">charliermarsh/ruff#3861</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Improve robustness of argument removal for <code>encode</code> calls
by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3802">charliermarsh/ruff#3802</a></li>
<li>Fix SIM222 and SIM223 false positive by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3832">charliermarsh/ruff#3832</a></li>
<li>When checking module visibility, don't check entire ancestry by <a
href="https://github.com/Hnasar"><code>@​Hnasar</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3835">charliermarsh/ruff#3835</a></li>
<li>Improve top-of-file insertions for required imports by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3779">charliermarsh/ruff#3779</a></li>
<li>Use multi-fix semantics for <code>inplace</code> removal by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3804">charliermarsh/ruff#3804</a></li>
<li>Flag non-<code>Name</code> expressions in
<code>duplicate-isinstance-call</code> by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3817">charliermarsh/ruff#3817</a></li>
<li>Avoid <code>unnecessary-comprehension-any-all</code> for async
generators by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3823">charliermarsh/ruff#3823</a></li>
<li>Fix <code>is_module_name()</code> and improve perf of
<code>is_identifier()</code> by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3795">charliermarsh/ruff#3795</a></li>
<li>Allow starred arguments in B030 by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3871">charliermarsh/ruff#3871</a></li>
<li>Support mutually exclusive branches for <code>B031</code> by <a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3844">charliermarsh/ruff#3844</a></li>
<li>Consider logger candidate from <code>logging</code> module only by
<a href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3878">charliermarsh/ruff#3878</a></li>
</ul>
<h3>Core</h3>
<ul>
<li>Add import insertion support to autofix capabilities by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3787">charliermarsh/ruff#3787</a></li>
<li>Generate <code>ImportMap</code> from module path to imported
dependencies by <a
href="https://github.com/chanman3388"><code>@​chanman3388</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3243">charliermarsh/ruff#3243</a></li>
</ul>
<h3>Docs</h3>
<ul>
<li>Add documentation for <code>ruff-action</code> (GitHub Action!) by
<a href="https://github.com/brucearctor"><code>@​brucearctor</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3857">charliermarsh/ruff#3857</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/AetherUnbound"><code>@​AetherUnbound</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3806">charliermarsh/ruff#3806</a></li>
<li><a href="https://github.com/Hnasar"><code>@​Hnasar</code></a> made
their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3835">charliermarsh/ruff#3835</a></li>
<li><a href="https://github.com/nvuillam"><code>@​nvuillam</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3848">charliermarsh/ruff#3848</a></li>
<li><a
href="https://github.com/brucearctor"><code>@​brucearctor</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3857">charliermarsh/ruff#3857</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.260...v0.0.261">https://github.com/charliermarsh/ruff/compare/v0.0.260...v0.0.261</a></p>
<h2>v0.0.260</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Rules</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Add more immutable functions for
<code>B008</code> by <a
href="https://github.com/rouge8"><code>@​rouge8</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3764">charliermarsh/ruff#3764</a></li>
<li>[<code>flake8-bugbear</code>] Allow <code>pathlib.Path()</code> in
<code>B008</code> by <a
href="https://github.com/rouge8"><code>@​rouge8</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3794">charliermarsh/ruff#3794</a></li>
<li>[<code>flake8-bugbear</code>] Expand the scope of useless-expression
(B018) by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3455">charliermarsh/ruff#3455</a></li>
<li>[<code>flake8-bugbear</code>]: Implement rule <code>B031</code> by
<a href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3680">charliermarsh/ruff#3680</a></li>
<li>[<code>flake8-gettext</code>] Implement <code>flake8-gettext</code>
by <a href="https://github.com/leiserfg"><code>@​leiserfg</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3785">charliermarsh/ruff#3785</a></li>
<li>[<code>flake8-logging-format</code>] Add support for
<code>.log(level, msg)</code> calls in
<code>flake8-logging-format</code> by <a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3726">charliermarsh/ruff#3726</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/charliermarsh/ruff/commit/255b094b33188e67e9bb9f10f702aa8ecda10132"><code>255b094</code></a>
Bump version to 0.0.261 (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3881">#3881</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/b6155232acf5833e7c67dbae34c4e872ceb70b67"><code>b615523</code></a>
Consider logger candidate from <code>logging</code> module only (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3878">#3878</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/390d7dcf391cbdbe4df80e3377c295a3bc03db5d"><code>390d7dc</code></a>
Supports more cases in <code>SIM112</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3876">#3876</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/251340a246ff278d56ff31df74e6df71d868238a"><code>251340a</code></a>
Add LangChain and LlamaIndex (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3879">#3879</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/d919adc13c2e2c15028a8d5e7f54c2ee0838b826"><code>d919adc</code></a>
Introduce a <code>ruff_python_semantic</code> crate (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3865">#3865</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/46bcb1f725999540a315bc6fd44f455ec3cc38a9"><code>46bcb1f</code></a>
[<code>flake8-simplify</code>] Implement
<code>dict-get-with-none-default</code> (<code>SIM910</code>) (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3874">#3874</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/2b21effa7743fe8e53848c0880823d7b8b4e7459"><code>2b21eff</code></a>
fixup! Support mutually exclusive branches for <code>B031</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3844">#3844</a>)
(<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3875">#3875</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/10504eb9ed751008288c274287ddcd74b5867bbe"><code>10504eb</code></a>
Generate <code>ImportMap</code> from module path to imported
dependencies (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3243">#3243</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/76e111c8741c87058bffb1b909cd3efe4f6bb2b7"><code>76e111c</code></a>
Support mutually exclusive branches for <code>B031</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3844">#3844</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/e006b922a6f7c747bfcaed98948ab304114a40e0"><code>e006b92</code></a>
Add documentation for <code>ruff-action</code> (GitHub Action!) (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3857">#3857</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.259...v0.0.261">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.0.259&new-version=0.0.261)](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 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 11, 2023
1 parent 4ea11ea commit 630793c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
colorlog==6.7.0
homeassistant==2023.2.0
pip>=21.0,<23.1
ruff==0.0.259
ruff==0.0.261

0 comments on commit 630793c

Please sign in to comment.