Skip to content

Commit

Permalink
Bump ruff from 0.0.254 to 0.0.255 (#91)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.254 to
0.0.255.
<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.255</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Rules</h3>
<ul>
<li>[<code>flake8-pie</code>] Fix PIE802 broken auto-fix with trailing
comma by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3402">charliermarsh/ruff#3402</a></li>
<li>[<code>flake8-pie</code>] Implement autofix for PIE810 by <a
href="https://github.com/kyoto7250"><code>@​kyoto7250</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3411">charliermarsh/ruff#3411</a></li>
<li>[<code>flake8-bugbear</code>] Add <code>flake8-bugbear</code>'s B030
rule by <a
href="https://github.com/aacunningham"><code>@​aacunningham</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3400">charliermarsh/ruff#3400</a></li>
<li>[<code>pycodestyle</code>] Add E231 by <a
href="https://github.com/carlosmiei"><code>@​carlosmiei</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3344">charliermarsh/ruff#3344</a></li>
<li>[<code>pyupgrade</code>] Flag deprecated (but renamed) imports in
UP035 by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3448">charliermarsh/ruff#3448</a></li>
<li>[<code>pyupgrade</code>] Remap ChainMap, Counter, and OrderedDict
imports to collections by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3392">charliermarsh/ruff#3392</a></li>
<li>[<code>pylint</code>] C1901: compare-to-empty-string by <a
href="https://github.com/AreamanM"><code>@​AreamanM</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3405">charliermarsh/ruff#3405</a></li>
<li>[<code>pylint</code>] Implement W1508 invalid-envvar-default by <a
href="https://github.com/latonis"><code>@​latonis</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3449">charliermarsh/ruff#3449</a></li>
<li>[<code>pylint</code>] Implement E1507 invalid-envvar-value by <a
href="https://github.com/latonis"><code>@​latonis</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3467">charliermarsh/ruff#3467</a></li>
</ul>
<h3>Settings</h3>
<ul>
<li>[<code>flake8-type-checking</code>] Implement configuration options
<code>runtime-evaluated-decorators</code> and
<code>runtime-evaluated-base-classes</code> for
<code>flake8-type-checking</code> by <a
href="https://github.com/sasanjac"><code>@​sasanjac</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3292">charliermarsh/ruff#3292</a></li>
<li>Add Azure Devops as a <code>--format</code> option. by <a
href="https://github.com/StefanBRas"><code>@​StefanBRas</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3335">charliermarsh/ruff#3335</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Re-enable the T and C linter prefix selectors by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3452">charliermarsh/ruff#3452</a></li>
<li>Treat unary operations on constants as constant-like by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3348">charliermarsh/ruff#3348</a></li>
<li>Skip byte-order-mark at start of file by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3343">charliermarsh/ruff#3343</a></li>
<li>Don't enforce typing-import rules in .pyi files by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3362">charliermarsh/ruff#3362</a></li>
<li>Include entire prefix when reporting rule selector errors by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3375">charliermarsh/ruff#3375</a></li>
<li>Handle multi-line fixes for byte-string prefixing by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3391">charliermarsh/ruff#3391</a></li>
<li>Catch RET504 usages via decorators by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3395">charliermarsh/ruff#3395</a></li>
<li>Ignore multiply-assigned variables in RET504 by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3393">charliermarsh/ruff#3393</a></li>
<li>[FIX] PYI011: recognize <code>Bool</code> / <code>Float</code> /
<code>Complex</code> numbers as simple defaults by <a
href="https://github.com/XuehaiPan"><code>@​XuehaiPan</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3459">charliermarsh/ruff#3459</a></li>
<li>Respect ignores for runtime-import-in-type-checking-block (TCH004)
by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3474">charliermarsh/ruff#3474</a></li>
<li>Avoid panicking in invalid_escape_sequence by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3338">charliermarsh/ruff#3338</a></li>
<li>fix: Emit a more useful error if an <code>extend</code> points at a
non-existent ruff.toml file. by <a
href="https://github.com/DanCardin"><code>@​DanCardin</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3417">charliermarsh/ruff#3417</a></li>
<li>Respect <code>--show-fixes</code> with <code>--fix-only</code> by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3426">charliermarsh/ruff#3426</a></li>
<li>When &quot;Args&quot; and &quot;Parameters&quot; are present, prefer
NumPy style by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3430">charliermarsh/ruff#3430</a></li>
<li>Remove empty line after RUF100 auto-fix by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3414">charliermarsh/ruff#3414</a></li>
<li>Avoid removing un-aliased exceptions in <code>OSError</code>-aliased
handlers by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3451">charliermarsh/ruff#3451</a></li>
<li>Use a hash to fingerprint GitLab CI output by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3456">charliermarsh/ruff#3456</a></li>
<li>Avoid respecting noqa directives when RUF100 is enabled by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3469">charliermarsh/ruff#3469</a></li>
<li>Output GitLab paths relative to <code>CI_PROJECT_DIR</code> by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3475">charliermarsh/ruff#3475</a></li>
<li>Implement an iterator for universal newlines by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3454">charliermarsh/ruff#3454</a></li>
<li>Infer target-version from project metadata in
<code>flake8-to-ruff</code> by <a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3470">charliermarsh/ruff#3470</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/sasanjac"><code>@​sasanjac</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3292">charliermarsh/ruff#3292</a></li>
<li><a
href="https://github.com/aacunningham"><code>@​aacunningham</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3380">charliermarsh/ruff#3380</a></li>
<li><a href="https://github.com/orf"><code>@​orf</code></a> made their
first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3389">charliermarsh/ruff#3389</a></li>
<li><a href="https://github.com/DanCardin"><code>@​DanCardin</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3417">charliermarsh/ruff#3417</a></li>
<li><a href="https://github.com/AreamanM"><code>@​AreamanM</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3405">charliermarsh/ruff#3405</a></li>
<li><a href="https://github.com/kyoto7250"><code>@​kyoto7250</code></a>
made their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3411">charliermarsh/ruff#3411</a></li>
<li><a href="https://github.com/latonis"><code>@​latonis</code></a> made
their first contribution in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3449">charliermarsh/ruff#3449</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/aa97a092bdbabcfa24381313b76a2c52a80cd9f0"><code>aa97a09</code></a>
Bump version to v0.0.255 (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3485">#3485</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/685c2427612ef504e5c3e83b46a2c1b51b6dc14d"><code>685c242</code></a>
refactor(ruff_python_ast): Split <code>get_argument</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3478">#3478</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/b540407b749aa77d0f9b4d9528a83ceb5c4147fc"><code>b540407</code></a>
Infer target-version from project metadata (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3470">#3470</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/3a5fbd6d744b9b507415c89ca88c0953534ec79f"><code>3a5fbd6</code></a>
Upgrade RustPython to fix Serde dependency (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3481">#3481</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/227679b5cb431c19e508e5311f5eab5c96573f0e"><code>227679b</code></a>
Re-enable the T and C linter prefix selectors (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3452">#3452</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/c2750a59ab8c92ffc8ccec1561e43f6f2f3f8859"><code>c2750a5</code></a>
Implement an iterator for universal newlines (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3454">#3454</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/2a4d6ab3b29a46acb657daefe03bd2436a995639"><code>2a4d6ab</code></a>
Remove unnecessary <code>Path::new</code> from <code>fs</code> calls (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3476">#3476</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/7a80bcec585ab507a86366bdd7bd6c87f63ecc5d"><code>7a80bce</code></a>
Output GitLab paths relative to <code>CI_PROJECT_DIR</code> (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3475">#3475</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/297749a3a8a60d38f6bed2d027b88508d996e1ae"><code>297749a</code></a>
[doc] Update FAQ on Flake8 for structural pattern matching (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3473">#3473</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/8955e32b5cdba2c3a80c1a275127cc608036aec5"><code>8955e32</code></a>
Respect ignores for runtime-import-in-type-checking-block (TCH004) (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3474">#3474</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.254...v0.0.255">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.254&new-version=0.0.255)](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 Mar 16, 2023
1 parent 9f0686a commit 6a29df8
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.254
ruff==0.0.255

0 comments on commit 6a29df8

Please sign in to comment.