Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): bump ruff from 0.6.2 to 0.6.3 (#217)
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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information