Skip to content

Commit

Permalink
Bump ruff from 0.3.3 to 0.3.4 (#411)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.3 to 0.3.4.
<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.4</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Detect implicit <code>else</code>
cases in <code>needless-bool</code> (<code>SIM103</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10414">#10414</a>)</li>
<li>[<code>pylint</code>] Implement <code>nan-comparison</code>
(<code>PLW0117</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10401">#10401</a>)</li>
<li>[<code>pylint</code>] Implement <code>nonlocal-and-global</code>
(<code>E115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10407">#10407</a>)</li>
<li>[<code>pylint</code>] Implement
<code>singledispatchmethod-function</code> (<code>PLE5120</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10428">#10428</a>)</li>
<li>[<code>refurb</code>] Implement <code>list-reverse-copy</code>
(<code>FURB187</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10212">#10212</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-pytest-style</code>] Add automatic fix for
<code>pytest-parametrize-values-wrong-type</code> (<code>PT007</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10461">#10461</a>)</li>
<li>[<code>pycodestyle</code>] Allow SPDX license headers to exceed the
line length (<code>E501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10481">#10481</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Fix unstable formatting for trailing subscript end-of-line comment
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10492">#10492</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid code comment detection in PEP 723 script tags (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10464">#10464</a>)</li>
<li>Avoid incorrect tuple transformation in single-element case
(<code>C409</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10491">#10491</a>)</li>
<li>Bug fix: Prevent fully defined links <a
href="https://github.com/astral-sh/ruff/blob/main/link"><code>name</code></a>
from being reformatted (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10442">#10442</a>)</li>
<li>Consider raw source code for <code>W605</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10480">#10480</a>)</li>
<li>Docs: Link inline settings when not part of options section (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10499">#10499</a>)</li>
<li>Don't treat annotations as redefinitions in <code>.pyi</code> files
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10512">#10512</a>)</li>
<li>Fix <code>E231</code> bug: Inconsistent catch compared to
pycodestyle, such as when dict nested in list (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10469">#10469</a>)</li>
<li>Fix pylint upstream categories not showing in docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10441">#10441</a>)</li>
<li>Add missing <code>Options</code> references to blank line docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10498">#10498</a>)</li>
<li>'Revert &quot;F821: Fix false negatives in .py files when <code>from
__future__ import annotations</code> is active (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10362">#10362</a>)&quot;'
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10513">#10513</a>)</li>
<li>Apply NFKC normalization to unicode identifiers in the lexer (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10412">#10412</a>)</li>
<li>Avoid failures due to non-deterministic binding ordering (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10478">#10478</a>)</li>
<li>[<code>flake8-bugbear</code>] Allow tuples of exceptions
(<code>B030</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10437">#10437</a>)</li>
<li>[<code>flake8-quotes</code>] Avoid syntax errors due to invalid
quotes (<code>Q000, Q002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10199">#10199</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/5062572aca9413670aafd018cb65037bcb4d6acb"><code>5062572</code></a>
Bump version to v0.3.4 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10515">#10515</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dc6f6398e737f4496dfaa870b1dc07ee1ec85617"><code>dc6f639</code></a>
Rename <code>list-reassign-reversed</code> to
<code>list-reverse-copy</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10514">#10514</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/01fe2686124fb4b0a94184e17e7b246fa7e5b689"><code>01fe268</code></a>
[<code>refurb</code>] Implement <code>list_assign_reversed</code> lint
(FURB187) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10212">#10212</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c62184d05781327ddde1c0b142790d351cf666e6"><code>c62184d</code></a>
'Revert &quot;F821: Fix false negatives in .py files when `from
<strong>future</strong> import ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9b3c73253809f10f6f6522a487eb393fc6477d9c"><code>9b3c732</code></a>
Docs: Link inline settings when not part of options section (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10499">#10499</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/caa14508959781b9220f5c9f83c4e0a4c586ce0c"><code>caa1450</code></a>
Don't treat annotations as redefinitions in <code>.pyi</code> files (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10512">#10512</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/60fd98eb2fe425eca4b89268dd608f4e1cc21b74"><code>60fd98e</code></a>
Update Rust to v1.77 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10510">#10510</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ac150b9314c0359c499aff103a99007807f9f854"><code>ac150b9</code></a>
Spruce up docs for flake8-pyi rules (part 2) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10494">#10494</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d9ac170eb45660b8ac3e61a81b168202b76f1582"><code>d9ac170</code></a>
Fix <code>E231</code> bug: Inconsistent catch compared to pycodestyle,
such as when dict...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c5ea4209bba318001e6c22ca84c75097977de305"><code>c5ea420</code></a>
chore: remove repetitive words (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10502">#10502</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.3.3...v0.3.4">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.3&new-version=0.3.4)](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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Mar 25, 2024
1 parent 145e36d commit f4705a7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
36 changes: 18 additions & 18 deletions requirements-dev.txt
Expand Up @@ -116,24 +116,24 @@ python-lsp-jsonrpc==1.0.0 \
--hash=sha256:079b143be64b0a378bdb21dff5e28a8c1393fe7e8a654ef068322d754e545fc7 \
--hash=sha256:7bec170733db628d3506ea3a5288ff76aa33c70215ed223abdb0d95e957660bd
# via ruff-lsp (pyproject.toml)
ruff==0.3.3 \
--hash=sha256:0171aab5fecdc54383993389710a3d1227f2da124d76a2784a7098e818f92d61 \
--hash=sha256:0da458989ce0159555ef224d5b7c24d3d2e4bf4c300b85467b08c3261c6bc6a8 \
--hash=sha256:1eca7ff7a47043cf6ce5c7f45f603b09121a7cc047447744b029d1b719278eb5 \
--hash=sha256:2700a804d5336bcffe063fd789ca2c7b02b552d2e323a336700abb8ae9e6a3f8 \
--hash=sha256:352e95ead6964974b234e16ba8a66dad102ec7bf8ac064a23f95371d8b198aab \
--hash=sha256:38671be06f57a2f8aba957d9f701ea889aa5736be806f18c0cd03d6ff0cbca8d \
--hash=sha256:45817af234605525cdf6317005923bf532514e1ea3d9270acf61ca2440691376 \
--hash=sha256:5a6cbf216b69c7090f0fe4669501a27326c34e119068c1494f35aaf4cc683778 \
--hash=sha256:79bca3a03a759cc773fca69e0bdeac8abd1c13c31b798d5bb3c9da4a03144a9f \
--hash=sha256:8d6ab88c81c4040a817aa432484e838aaddf8bfd7ca70e4e615482757acb64f8 \
--hash=sha256:973a0e388b7bc2e9148c7f9be8b8c6ae7471b9be37e1cc732f8f44a6f6d7720d \
--hash=sha256:b24c19e8598916d9c6f5a5437671f55ee93c212a2c4c569605dc3842b6820386 \
--hash=sha256:be90bcae57c24d9f9d023b12d627e958eb55f595428bafcb7fec0791ad25ddfc \
--hash=sha256:cfa60d23269d6e2031129b053fdb4e5a7b0637fc6c9c0586737b962b2f834493 \
--hash=sha256:e7d3f6762217c1da954de24b4a1a70515630d29f71e268ec5000afe81377642d \
--hash=sha256:f2831ec6a580a97f1ea82ea1eda0401c3cdf512cf2045fa3c85e8ef109e87de0 \
--hash=sha256:fd66469f1a18fdb9d32e22b79f486223052ddf057dc56dea0caaf1a47bdfaf4e
ruff==0.3.4 \
--hash=sha256:3f3860057590e810c7ffea75669bdc6927bfd91e29b4baa9258fd48b540a4365 \
--hash=sha256:519cf6a0ebed244dce1dc8aecd3dc99add7a2ee15bb68cf19588bb5bf58e0488 \
--hash=sha256:60c870a7d46efcbc8385d27ec07fe534ac32f3b251e4fc44b3cbfd9e09609ef4 \
--hash=sha256:64abeed785dad51801b423fa51840b1764b35d6c461ea8caef9cf9e5e5ab34d9 \
--hash=sha256:6810563cc08ad0096b57c717bd78aeac888a1bfd38654d9113cb3dc4d3f74232 \
--hash=sha256:6fc14fa742e1d8f24910e1fff0bd5e26d395b0e0e04cc1b15c7c5e5fe5b4af91 \
--hash=sha256:986f2377f7cf12efac1f515fc1a5b753c000ed1e0a6de96747cdf2da20a1b369 \
--hash=sha256:98e98300056445ba2cc27d0b325fd044dc17fcc38e4e4d2c7711585bd0a958ed \
--hash=sha256:af27ac187c0a331e8ef91d84bf1c3c6a5dea97e912a7560ac0cef25c526a4102 \
--hash=sha256:bb0acfb921030d00070539c038cd24bb1df73a2981e9f55942514af8b17be94e \
--hash=sha256:c4fd98e85869603e65f554fdc5cddf0712e352fe6e61d29d5a6fe087ec82b76c \
--hash=sha256:cf133dd744f2470b347f602452a88e70dadfbe0fcfb5fd46e093d55da65f82f7 \
--hash=sha256:cf187a7e7098233d0d0c71175375c5162f880126c4c716fa28a8ac418dcf3378 \
--hash=sha256:d3ee7880f653cc03749a3bfea720cf2a192e4f884925b0cf7eecce82f0ce5854 \
--hash=sha256:de0d5069b165e5a32b3c6ffbb81c350b1e3d3483347196ffdf86dc0ef9e37dd6 \
--hash=sha256:df52972138318bc7546d92348a1ee58449bc3f9eaf0db278906eb511889c4b50 \
--hash=sha256:f0f4484c6541a99862b693e13a151435a279b271cff20e37101116a21e2a1ad1
# via ruff-lsp (pyproject.toml)
tomli==2.0.1 \
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
Expand Down
36 changes: 18 additions & 18 deletions requirements.txt
Expand Up @@ -36,24 +36,24 @@ pygls==1.2.1 \
--hash=sha256:04f9b9c115b622dcc346fb390289066565343d60245a424eca77cb429b911ed8 \
--hash=sha256:7dcfcf12b6f15beb606afa46de2ed348b65a279c340ef2242a9a35c22eeafe94
# via ruff-lsp (pyproject.toml)
ruff==0.3.3 \
--hash=sha256:0171aab5fecdc54383993389710a3d1227f2da124d76a2784a7098e818f92d61 \
--hash=sha256:0da458989ce0159555ef224d5b7c24d3d2e4bf4c300b85467b08c3261c6bc6a8 \
--hash=sha256:1eca7ff7a47043cf6ce5c7f45f603b09121a7cc047447744b029d1b719278eb5 \
--hash=sha256:2700a804d5336bcffe063fd789ca2c7b02b552d2e323a336700abb8ae9e6a3f8 \
--hash=sha256:352e95ead6964974b234e16ba8a66dad102ec7bf8ac064a23f95371d8b198aab \
--hash=sha256:38671be06f57a2f8aba957d9f701ea889aa5736be806f18c0cd03d6ff0cbca8d \
--hash=sha256:45817af234605525cdf6317005923bf532514e1ea3d9270acf61ca2440691376 \
--hash=sha256:5a6cbf216b69c7090f0fe4669501a27326c34e119068c1494f35aaf4cc683778 \
--hash=sha256:79bca3a03a759cc773fca69e0bdeac8abd1c13c31b798d5bb3c9da4a03144a9f \
--hash=sha256:8d6ab88c81c4040a817aa432484e838aaddf8bfd7ca70e4e615482757acb64f8 \
--hash=sha256:973a0e388b7bc2e9148c7f9be8b8c6ae7471b9be37e1cc732f8f44a6f6d7720d \
--hash=sha256:b24c19e8598916d9c6f5a5437671f55ee93c212a2c4c569605dc3842b6820386 \
--hash=sha256:be90bcae57c24d9f9d023b12d627e958eb55f595428bafcb7fec0791ad25ddfc \
--hash=sha256:cfa60d23269d6e2031129b053fdb4e5a7b0637fc6c9c0586737b962b2f834493 \
--hash=sha256:e7d3f6762217c1da954de24b4a1a70515630d29f71e268ec5000afe81377642d \
--hash=sha256:f2831ec6a580a97f1ea82ea1eda0401c3cdf512cf2045fa3c85e8ef109e87de0 \
--hash=sha256:fd66469f1a18fdb9d32e22b79f486223052ddf057dc56dea0caaf1a47bdfaf4e
ruff==0.3.4 \
--hash=sha256:3f3860057590e810c7ffea75669bdc6927bfd91e29b4baa9258fd48b540a4365 \
--hash=sha256:519cf6a0ebed244dce1dc8aecd3dc99add7a2ee15bb68cf19588bb5bf58e0488 \
--hash=sha256:60c870a7d46efcbc8385d27ec07fe534ac32f3b251e4fc44b3cbfd9e09609ef4 \
--hash=sha256:64abeed785dad51801b423fa51840b1764b35d6c461ea8caef9cf9e5e5ab34d9 \
--hash=sha256:6810563cc08ad0096b57c717bd78aeac888a1bfd38654d9113cb3dc4d3f74232 \
--hash=sha256:6fc14fa742e1d8f24910e1fff0bd5e26d395b0e0e04cc1b15c7c5e5fe5b4af91 \
--hash=sha256:986f2377f7cf12efac1f515fc1a5b753c000ed1e0a6de96747cdf2da20a1b369 \
--hash=sha256:98e98300056445ba2cc27d0b325fd044dc17fcc38e4e4d2c7711585bd0a958ed \
--hash=sha256:af27ac187c0a331e8ef91d84bf1c3c6a5dea97e912a7560ac0cef25c526a4102 \
--hash=sha256:bb0acfb921030d00070539c038cd24bb1df73a2981e9f55942514af8b17be94e \
--hash=sha256:c4fd98e85869603e65f554fdc5cddf0712e352fe6e61d29d5a6fe087ec82b76c \
--hash=sha256:cf133dd744f2470b347f602452a88e70dadfbe0fcfb5fd46e093d55da65f82f7 \
--hash=sha256:cf187a7e7098233d0d0c71175375c5162f880126c4c716fa28a8ac418dcf3378 \
--hash=sha256:d3ee7880f653cc03749a3bfea720cf2a192e4f884925b0cf7eecce82f0ce5854 \
--hash=sha256:de0d5069b165e5a32b3c6ffbb81c350b1e3d3483347196ffdf86dc0ef9e37dd6 \
--hash=sha256:df52972138318bc7546d92348a1ee58449bc3f9eaf0db278906eb511889c4b50 \
--hash=sha256:f0f4484c6541a99862b693e13a151435a279b271cff20e37101116a21e2a1ad1
# via ruff-lsp (pyproject.toml)
typing-extensions==4.7.1 \
--hash=sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36 \
Expand Down

0 comments on commit f4705a7

Please sign in to comment.