Skip to content

Commit

Permalink
Bump ruff from 0.6.1 to 0.6.2 (#432)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.1 to 0.6.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.6.2</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Extend
<code>open-file-with-context-handler</code> to work with other
standard-library IO modules (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>)</li>
<li>[<code>ruff</code>] Avoid <code>unused-async</code> for functions
with FastAPI route decorator (<code>RUF029</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12938">#12938</a>)</li>
<li>[<code>ruff</code>] Ignore <code>fstring-missing-syntax</code>
(<code>RUF027</code>) for <code>fastAPI</code> paths (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12939">#12939</a>)</li>
<li>[<code>ruff</code>] Implement check for Decimal called with a float
literal (RUF032) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12909">#12909</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Update diagnostic message when
expression is at the end of function (<code>B015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12944">#12944</a>)</li>
<li>[<code>flake8-pyi</code>] Skip type annotations in
<code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13002">#13002</a>)</li>
<li>[<code>flake8-type-checking</code>] Always recognise relative
imports as first-party (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12994">#12994</a>)</li>
<li>[<code>flake8-unused-arguments</code>] Ignore unused arguments on
stub functions (<code>ARG001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12966">#12966</a>)</li>
<li>[<code>pylint</code>] Ignore augmented assignment for
<code>self-cls-assignment</code> (<code>PLW0642</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12957">#12957</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Show full context in error log messages (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13029">#13029</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pep8-naming</code>] Don't flag <code>from</code> imports
following conventional import names (<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12946">#12946</a>)</li>
<li>[<code>pylint</code>] - Allow <code>__new__</code> methods to have
<code>cls</code> as their first argument even if decorated with
<code>@staticmethod</code> for <code>bad-staticmethod-argument</code>
(<code>PLW0211</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12958">#12958</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add <code>hyperfine</code> installation instructions; update
<code>hyperfine</code> code samples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13034">#13034</a>)</li>
<li>Expand note to use Ruff with other language server in Kate (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12806">#12806</a>)</li>
<li>Update example for <code>PT001</code> as per the new default
behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13019">#13019</a>)</li>
<li>[<code>perflint</code>] Improve docs for
<code>try-except-in-loop</code> (<code>PERF203</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12947">#12947</a>)</li>
<li>[<code>pydocstyle</code>] Add reference to
<code>lint.pydocstyle.ignore-decorators</code> setting to rule docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12996">#12996</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
<li><a
href="https://github.com/FinchPowers"><code>@​FinchPowers</code></a></li>
<li><a
href="https://github.com/InSyncWithFoo"><code>@​InSyncWithFoo</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a
href="https://github.com/Skylion007"><code>@​Skylion007</code></a></li>
<li><a
href="https://github.com/TomerBin"><code>@​TomerBin</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li>
<li><a
href="https://github.com/diceroll123"><code>@​diceroll123</code></a></li>
<li><a
href="https://github.com/dsal3389"><code>@​dsal3389</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@​dylwil3</code></a></li>
<li><a
href="https://github.com/kbaskett248"><code>@​kbaskett248</code></a></li>
<li><a href="https://github.com/lengau"><code>@​lengau</code></a></li>
</ul>
<!-- 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.6.2</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Extend
<code>open-file-with-context-handler</code> to work with other
standard-library IO modules (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>)</li>
<li>[<code>ruff</code>] Avoid <code>unused-async</code> for functions
with FastAPI route decorator (<code>RUF029</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12938">#12938</a>)</li>
<li>[<code>ruff</code>] Ignore <code>fstring-missing-syntax</code>
(<code>RUF027</code>) for <code>fastAPI</code> paths (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12939">#12939</a>)</li>
<li>[<code>ruff</code>] Implement check for Decimal called with a float
literal (RUF032) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12909">#12909</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Update diagnostic message when
expression is at the end of function (<code>B015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12944">#12944</a>)</li>
<li>[<code>flake8-pyi</code>] Skip type annotations in
<code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13002">#13002</a>)</li>
<li>[<code>flake8-type-checking</code>] Always recognise relative
imports as first-party (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12994">#12994</a>)</li>
<li>[<code>flake8-unused-arguments</code>] Ignore unused arguments on
stub functions (<code>ARG001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12966">#12966</a>)</li>
<li>[<code>pylint</code>] Ignore augmented assignment for
<code>self-cls-assignment</code> (<code>PLW0642</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12957">#12957</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Show full context in error log messages (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13029">#13029</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pep8-naming</code>] Don't flag <code>from</code> imports
following conventional import names (<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12946">#12946</a>)</li>
<li>[<code>pylint</code>] - Allow <code>__new__</code> methods to have
<code>cls</code> as their first argument even if decorated with
<code>@staticmethod</code> for <code>bad-staticmethod-argument</code>
(<code>PLW0211</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12958">#12958</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add <code>hyperfine</code> installation instructions; update
<code>hyperfine</code> code samples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13034">#13034</a>)</li>
<li>Expand note to use Ruff with other language server in Kate (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12806">#12806</a>)</li>
<li>Update example for <code>PT001</code> as per the new default
behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13019">#13019</a>)</li>
<li>[<code>perflint</code>] Improve docs for
<code>try-except-in-loop</code> (<code>PERF203</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12947">#12947</a>)</li>
<li>[<code>pydocstyle</code>] Add reference to
<code>lint.pydocstyle.ignore-decorators</code> setting to rule docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12996">#12996</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/02c4373a4927657a8825d18ae8f0877806cd1f15"><code>02c4373</code></a>
Bump version to 0.6.2 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13056">#13056</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d37e2e5d33deadc15bf4194216e08ce1528a638c"><code>d37e2e5</code></a>
[<code>flake8-simplify</code>] Extend open-file-with-context-handler to
work with other ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d1d067896c115405c87e4526395de207bf037809"><code>d1d0678</code></a>
[red-knot] Remove notebook support from the server (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13040">#13040</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/93f9023ea38ddac7f33b487d938f47cc1333d567"><code>93f9023</code></a>
Add <code>hyperfine</code> installation instructions; update
<code>hyperfine</code> code samples (#...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8144a11f98032a1f109f557fbd5c8379364230b6"><code>8144a11</code></a>
[red-knot] Add definition for with items (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12920">#12920</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dce87c21fdf73a58f3821cae5e71b9da234e29ce"><code>dce87c2</code></a>
Eagerly validate typeshed versions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12786">#12786</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f873d2ac128a2f6897bf814a3b252454aa7be3e2"><code>f873d2a</code></a>
Revert &quot;Use the system allocator for codspeed benchmarks&quot; (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13035">#13035</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ecd9e6a650ef428be67bb0e28cb0c52d27eb2895"><code>ecd9e6a</code></a>
[red-knot] Improve the <code>unresolved-import</code> check (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13007">#13007</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/785c39927bf5fe0b95fd5b2c8286783a04c4bf91"><code>785c399</code></a>
Use ZIP file size metadata to allocate string (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13032">#13032</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a35cdbb27519d91de6d35e76995d1c532e0cd60c"><code>a35cdbb</code></a>
Fix various panicks when linting black/src (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13033">#13033</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.1...0.6.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.6.1&new-version=0.6.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>
  • Loading branch information
github-actions[bot] authored Aug 23, 2024
2 parents a8f680c + c784824 commit 3edd88f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ boto3 = "^1.26.163"
pytest = ">=7.4,<9.0"
moto = ">=4.1.12,<6.0.0"
black = ">=23.3,<25.0"
ruff = ">=0.5.1,<0.6.2"
ruff = ">=0.5.1,<0.6.3"
yapf = "^0.40.1"

[build-system]
Expand Down

0 comments on commit 3edd88f

Please sign in to comment.