Skip to content

Commit

Permalink
Bump ruff from 0.0.257 to 0.0.259 (#94)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.257 to
0.0.259.
<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.259</h2>
<!-- raw HTML omitted -->
<h2>Summary</h2>
<p>Follow-up release to <code>v0.0.258</code> to fix an issue related to
rule resolution via <code>select</code> and <code>ignore</code>.</p>
<h2>What's Changed</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix RuleSet.remove by <a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3685">charliermarsh/ruff#3685</a></li>
<li>Respect all rule-exemption sources when suppressing parser errors by
<a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3665">charliermarsh/ruff#3665</a></li>
<li>Avoid nested loops in <code>missing_whitespace</code> by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3688">charliermarsh/ruff#3688</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.258...v0.0.259">https://github.com/charliermarsh/ruff/compare/v0.0.258...v0.0.259</a></p>
<h2>v0.0.258</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Rules</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Update <code>C416</code> with
dict comprehension (autofixable) by <a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3605">charliermarsh/ruff#3605</a></li>
<li>[<code>pylint</code>]: Implement
<code>assert-on-string-literal</code> (<code>W0129</code>) by <a
href="https://github.com/latonis"><code>@​latonis</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3610">charliermarsh/ruff#3610</a></li>
<li>[<code>pyupgrade</code>] Convert single-argument %-style format
calls by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3600">charliermarsh/ruff#3600</a></li>
<li>[<code>pyupgrade</code>] Flag PEP 585 and PEP 604 violations in
quoted annotations by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3593">charliermarsh/ruff#3593</a></li>
<li>[<code>pyupgrade</code>] Enable autofix for annotations within
'simple' string literals by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3657">charliermarsh/ruff#3657</a></li>
<li>[<code>pyflakes</code>] Add autofix functionality for
<code>F523</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3613">#3613</a>)
by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3613">charliermarsh/ruff#3613</a></li>
<li>[<code>flake8-bandit</code>]: Implement deny-list rules for
suspicious member calls by <a
href="https://github.com/colin99d"><code>@​colin99d</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3239">charliermarsh/ruff#3239</a></li>
<li>[<code>flake8-annotations</code>] Add autofix for
<code>ANN204</code> with magic methods by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3633">charliermarsh/ruff#3633</a></li>
<li>[<code>pylint</code>] Implement <code>binary-op-exception</code>
(<code>PLW0711</code>) by <a
href="https://github.com/latonis"><code>@​latonis</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3639">charliermarsh/ruff#3639</a></li>
<li>[<code>flake8-django</code>]: Implement rule DJ012 by <a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3659">charliermarsh/ruff#3659</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Check exclusions prior to resolving <code>pyproject.toml</code>
files by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3588">charliermarsh/ruff#3588</a></li>
<li>Fix D417 false positive by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3596">charliermarsh/ruff#3596</a></li>
<li>Avoid removing comment hash for noqa's with trailing content by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3589">charliermarsh/ruff#3589</a></li>
<li>Avoid panics for implicitly-concatenated docstrings by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3584">charliermarsh/ruff#3584</a></li>
<li>Fix infinite loop due to rules <code>D207</code> &amp;
<code>W605</code> by <a
href="https://github.com/vlindhol"><code>@​vlindhol</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3609">charliermarsh/ruff#3609</a></li>
<li>Avoid trimming escaped whitespace in D210 by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3635">charliermarsh/ruff#3635</a></li>
<li>Handle <code>UP032</code> autofix with adjacent keywords by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3636">charliermarsh/ruff#3636</a></li>
<li>Consider same-site fixes to be overlapping by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3638">charliermarsh/ruff#3638</a></li>
<li>Avoid <code>RUF007</code> fixes for more than two arguments by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3654">charliermarsh/ruff#3654</a></li>
<li>Allow <code>pairwise</code> diagnostics for <code>zip(...,
strict=True)</code> by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3669">charliermarsh/ruff#3669</a></li>
<li>isort: fix bad interaction between
<code>force-sort-within-sections</code> and <code>force-to-top</code> by
<a href="https://github.com/bluetech"><code>@​bluetech</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3645">charliermarsh/ruff#3645</a></li>
<li>Gracefully handle lint panics by <a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a> in
<a
href="https://redirect.github.com/charliermarsh/ruff/pull/3509">charliermarsh/ruff#3509</a></li>
<li>Fix TRY300 false positive by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3634">charliermarsh/ruff#3634</a></li>
<li>Avoid raising PEP 604 errors with forward-referenced members by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3640">charliermarsh/ruff#3640</a></li>
<li>Avoid attempting infinite <code>open</code> fix with re-bound
builtin by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3650">charliermarsh/ruff#3650</a></li>
<li>Check indentation level when executing E231 by <a
href="https://github.com/kyoto7250"><code>@​kyoto7250</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3668">charliermarsh/ruff#3668</a></li>
<li>Flag, but don't fix, unused imports (<code>F401</code>) in
<code>ModuleNotFoundError</code> blocks by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3658">charliermarsh/ruff#3658</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/f58345dee32177d17ca323a2d60a020a3c7943a4"><code>f58345d</code></a>
Bump version to v0.0.259 (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3691">#3691</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/71c0da27bb6767c964bf8e514ec9e9492e0acc3f"><code>71c0da2</code></a>
Avoid nested loops in missing_whitespace (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3688">#3688</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/8a2d1a30296801f0f852ba538b8a177e3eed7870"><code>8a2d1a3</code></a>
Respect all rule-exemption sources when suppressing parser errors (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3665">#3665</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/6161e56ea4bf3ddae8b53779fc935f70f10bc19a"><code>6161e56</code></a>
Fix RuleSet.remove (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3685">#3685</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/189c9d468356f883d2c83cab207a6b28d2644a4e"><code>189c9d4</code></a>
Add dedicated structs for <code>BindingKind</code> variants (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3672">#3672</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/615887a7fe476d2fa6ed3a5462467466a3f608b8"><code>615887a</code></a>
Bump version to v0.0.258 (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3671">#3671</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/07808a58f2c47913dc84d534f255fbb7c0e9d82c"><code>07808a5</code></a>
Refactor out common exemption-parsing logic (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3670">#3670</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/fe568c08d21405bba46ea14d07a186a7bdd59042"><code>fe568c0</code></a>
isort: fix bad interaction between
<code>force-sort-within-sections</code> and `force-to...</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/7741d43ae5e32a95ff62fb12744b055f7ac3f108"><code>7741d43</code></a>
Allow <code>pairwise</code> diagnostics for <code>zip(...,
strict=True)</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3669">#3669</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/1b3e54231c5a600840ce50502d50b6aa27d96228"><code>1b3e542</code></a>
Flag, but don't fix, unused imports in <code>ModuleNotFoundError</code>
blocks (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3658">#3658</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.257...v0.0.259">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.257&new-version=0.0.259)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 28, 2023
1 parent 0dcf1e1 commit 876cabe
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==2022.2.0
pip>=8.0.3,<20.3
ruff==0.0.257
ruff==0.0.259

0 comments on commit 876cabe

Please sign in to comment.