Skip to content

Commit

Permalink
chore(deps-dev): bump ruff from 0.6.2 to 0.6.3 (#515)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.2 to 0.6.3.
<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.3</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
<code>dbm.sqlite3</code> (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13104">#13104</a>)</li>
<li>[<code>pycodestyle</code>] Disable <code>E741</code> in stub files
(<code>.pyi</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13119">#13119</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> on explicit
returns in functions that only return <code>None</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13064">#13064</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-async</code>] Disable check for <code>asyncio</code>
before Python 3.11 (<code>ASYNC109</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13023">#13023</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for
<code>fast-api-non-annotated-dependency</code> (<code>FAST002</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13133">#13133</a>)</li>
<li>[<code>flake8-implicit-str-concat</code>] Normalize octals before
merging concatenated strings in
<code>single-line-implicit-string-concatenation</code>
(<code>ISC001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13118">#13118</a>)</li>
<li>[<code>flake8-pytest-style</code>] Improve help message for
<code>pytest-incorrect-mark-parentheses-style</code>
(<code>PT023</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13092">#13092</a>)</li>
<li>[<code>pylint</code>] Avoid autofix for calls that aren't
<code>min</code> or <code>max</code> as starred expression
(<code>PLW3301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13089">#13089</a>)</li>
<li>[<code>ruff</code>] Add <code>datetime.time</code>,
<code>datetime.tzinfo</code>, and <code>datetime.timezone</code> as
immutable function calls (<code>RUF009</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13109">#13109</a>)</li>
<li>[<code>ruff</code>] Extend comment deletion for <code>RUF100</code>
to include trailing text from <code>noqa</code> directives while
preserving any following comments on the same line, if any (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13105">#13105</a>)</li>
<li>Fix dark theme on initial page load for the Ruff playground (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13077">#13077</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/JonathanPlasse"><code>@​JonathanPlasse</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a href="https://github.com/N-Wouda"><code>@​N-Wouda</code></a></li>
<li><a
href="https://github.com/PalAditya"><code>@​PalAditya</code></a></li>
<li><a href="https://github.com/arkuhn"><code>@​arkuhn</code></a></li>
<li><a href="https://github.com/calumy"><code>@​calumy</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
<li><a
href="https://github.com/chriskrycho"><code>@​chriskrycho</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/dylwil3"><code>@​dylwil3</code></a></li>
<li><a
href="https://github.com/renovate"><code>@​renovate</code></a></li>
<li><a href="https://github.com/teofr"><code>@​teofr</code></a></li>
<li><a href="https://github.com/tjkuson"><code>@​tjkuson</code></a></li>
<li><a href="https://github.com/vdwees"><code>@​vdwees</code></a></li>
</ul>
<h2>Install ruff 0.6.3</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.3/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<!-- 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.3</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Extend
<code>open-file-with-context-handler</code> to work with
<code>dbm.sqlite3</code> (<code>SIM115</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13104">#13104</a>)</li>
<li>[<code>pycodestyle</code>] Disable <code>E741</code> in stub files
(<code>.pyi</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13119">#13119</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> on explicit
returns in functions that only return <code>None</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13064">#13064</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-async</code>] Disable check for <code>asyncio</code>
before Python 3.11 (<code>ASYNC109</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13023">#13023</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for
<code>fast-api-non-annotated-dependency</code> (<code>FAST002</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13133">#13133</a>)</li>
<li>[<code>flake8-implicit-str-concat</code>] Normalize octals before
merging concatenated strings in
<code>single-line-implicit-string-concatenation</code>
(<code>ISC001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13118">#13118</a>)</li>
<li>[<code>flake8-pytest-style</code>] Improve help message for
<code>pytest-incorrect-mark-parentheses-style</code>
(<code>PT023</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13092">#13092</a>)</li>
<li>[<code>pylint</code>] Avoid autofix for calls that aren't
<code>min</code> or <code>max</code> as starred expression
(<code>PLW3301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13089">#13089</a>)</li>
<li>[<code>ruff</code>] Add <code>datetime.time</code>,
<code>datetime.tzinfo</code>, and <code>datetime.timezone</code> as
immutable function calls (<code>RUF009</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13109">#13109</a>)</li>
<li>[<code>ruff</code>] Extend comment deletion for <code>RUF100</code>
to include trailing text from <code>noqa</code> directives while
preserving any following comments on the same line, if any (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13105">#13105</a>)</li>
<li>Fix dark theme on initial page load for the Ruff playground (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13077">#13077</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/ee258caed72f729a6587bbf73aa25b1f6e9bcb7a"><code>ee258ca</code></a>
Bump version to 0.6.3 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13152">#13152</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b4d9d26020970f6a3f8a272c148c482fd7dc5108"><code>b4d9d26</code></a>
Update faq.md to highlight changes to src (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13145">#13145</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a99832088a31b65f79e578e3131756cfdc0afb0d"><code>a998320</code></a>
[<code>ruff</code>] - extend comment deletions for unused-noqa
(<code>RUF100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13105">#13105</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/770ef2ab2719de85c8beec348595f1c74177ce7e"><code>770ef2a</code></a>
[red-knot] support deferred evaluation of type expressions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13131">#13131</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c6023c03a23e654d3829ef020b993e9888d028f2"><code>c6023c0</code></a>
[red-knot] Add docs on using <code>RAYON_NUM_THREADS</code> for better
logging (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13140">#13140</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/df694ca1c1684a468efec6afd8af1df81eaa56fa"><code>df694ca</code></a>
[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for
`fast-api-non-annotat...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2e75cfbfe7fa79b71f76499d80058597e4c9d83b"><code>2e75cfb</code></a>
Format <code>PYI</code> examples in docs as <code>.pyi</code>-file
snippets (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13116">#13116</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cfafaa7637ef3f568d62d39654e0498f52a07b77"><code>cfafaa7</code></a>
[red-knot] Remove very noisy tracing call when resolving
<code>ImportFrom</code> stateme...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3e9c7adeeee639043686a1717a1683f6620efd2a"><code>3e9c7ad</code></a>
Replace crates by dependi for VS Code Dev Container (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13125">#13125</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/81cd438d883dafb7c51cf2ec9b8e8dcec5cf1f6b"><code>81cd438</code></a>
red-knot: infer and display ellipsis type (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13124">#13124</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.2...0.6.3">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.2&new-version=0.6.3)](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
kai687 committed Sep 2, 2024
2 parents a189e66 + 2311f41 commit 35c4505
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 @@ -41,7 +41,7 @@ pre-commit = [
{ version = "^3.5", python = ">=3.8,<3.9"},
{ version = "^3.6", python = ">=3.9,<=3.12"},
]
ruff = ">=0.5.1,<0.6.3"
ruff = ">=0.5.1,<0.6.4"

[tool.coverage.paths]
source = ["src"]
Expand Down

0 comments on commit 35c4505

Please sign in to comment.