Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps-dev): bump ruff from 0.4.2 to 0.4.7 (#163)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.2 to 0.4.7. <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>v0.4.7</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-pyi</code>] Implement <code>PYI064</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11325">#11325</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI066</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11541">#11541</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI057</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11486">#11486</a>)</li> <li>[<code>pyflakes</code>] Add option to enable F822 in <code>__init__.py</code> files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11370">#11370</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of trailing stub function comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/11632">#11632</a>)</li> </ul> <h3>Server</h3> <ul> <li>Respect file exclusions in <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11590">#11590</a>)</li> <li>Add support for documents not exist on disk (<a href="https://redirect.github.com/astral-sh/ruff/pull/11588">#11588</a>)</li> <li>Add Vim and Kate setup guide for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11615">#11615</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid removing newlines between docstring headers and rST blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/11609">#11609</a>)</li> <li>Infer indentation with imports when logical indent is absent (<a href="https://redirect.github.com/astral-sh/ruff/pull/11608">#11608</a>)</li> <li>Use char index rather than position for indent slice (<a href="https://redirect.github.com/astral-sh/ruff/pull/11645">#11645</a>)</li> <li>[<code>flake8-comprehension</code>] Strip parentheses around generators in <code>C400</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11607">#11607</a>)</li> <li>Mark <code>repeated-isinstance-calls</code> as unsafe on Python 3.10 and later (<a href="https://redirect.github.com/astral-sh/ruff/pull/11622">#11622</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/Chubercik"><code>@Chubercik</code></a></li> <li><a href="https://github.com/JaRoSchm"><code>@JaRoSchm</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/T-256"><code>@T-256</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/hassec"><code>@hassec</code></a></li> <li><a href="https://github.com/plredmond"><code>@plredmond</code></a></li> <li><a href="https://github.com/tomasr8"><code>@tomasr8</code></a></li> <li><a href="https://github.com/tusharsadhwani"><code>@tusharsadhwani</code></a></li> <li><a href="https://github.com/vitaliyf"><code>@vitaliyf</code></a></li> </ul> <h2>v0.4.6</h2> <h2>Changes</h2> <h3>Breaking changes</h3> <ul> <li>Use project-relative paths when calculating GitLab fingerprints (<a href="https://redirect.github.com/astral-sh/ruff/pull/11532">#11532</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.4.7</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-pyi</code>] Implement <code>PYI064</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11325">#11325</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI066</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11541">#11541</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI057</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11486">#11486</a>)</li> <li>[<code>pyflakes</code>] Add option to enable F822 in <code>__init__.py</code> files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11370">#11370</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of trailing stub function comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/11632">#11632</a>)</li> </ul> <h3>Server</h3> <ul> <li>Respect file exclusions in <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11590">#11590</a>)</li> <li>Add support for documents not exist on disk (<a href="https://redirect.github.com/astral-sh/ruff/pull/11588">#11588</a>)</li> <li>Add Vim and Kate setup guide for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11615">#11615</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid removing newlines between docstring headers and rST blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/11609">#11609</a>)</li> <li>Infer indentation with imports when logical indent is absent (<a href="https://redirect.github.com/astral-sh/ruff/pull/11608">#11608</a>)</li> <li>Use char index rather than position for indent slice (<a href="https://redirect.github.com/astral-sh/ruff/pull/11645">#11645</a>)</li> <li>[<code>flake8-comprehension</code>] Strip parentheses around generators in <code>C400</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11607">#11607</a>)</li> <li>Mark <code>repeated-isinstance-calls</code> as unsafe on Python 3.10 and later (<a href="https://redirect.github.com/astral-sh/ruff/pull/11622">#11622</a>)</li> </ul> <h2>0.4.6</h2> <h3>Breaking changes</h3> <ul> <li>Use project-relative paths when calculating GitLab fingerprints (<a href="https://redirect.github.com/astral-sh/ruff/pull/11532">#11532</a>)</li> <li>Bump minimum supported Windows version to Windows 10 (<a href="https://redirect.github.com/astral-sh/ruff/pull/11613">#11613</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>flake8-async</code>] Sleep with >24 hour interval should usually sleep forever (<code>ASYNC116</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11498">#11498</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>numpy</code>] Add missing functions to NumPy 2.0 migration rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/11528">#11528</a>)</li> <li>[<code>mccabe</code>] Consider irrefutable pattern similar to <code>if .. else</code> for <code>C901</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11565">#11565</a>)</li> <li>Consider <code>match</code>-<code>case</code> statements for <code>C901</code>, <code>PLR0912</code>, and <code>PLR0915</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11521">#11521</a>)</li> <li>Remove empty strings when converting to f-string (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11524">#11524</a>)</li> <li>[<code>flake8-bandit</code>] <code>request-without-timeout</code> should warn for <code>requests.request</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11548">#11548</a>)</li> <li>[<code>flake8-self</code>] Ignore sunder accesses in <code>flake8-self</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11546">#11546</a>)</li> <li>[<code>pyupgrade</code>] Lint for <code>TypeAliasType</code> usages (<code>UP040</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11530">#11530</a>)</li> </ul> <h3>Server</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/1ad5f9c0382f5fa8ed4f38c972a3799be89a7172"><code>1ad5f9c</code></a> Bump version to v0.4.7 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11646">#11646</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e914bc300b46840b0d48c5ece1c0e63418820ce0"><code>e914bc3</code></a> F401 sort bindings before adding to <strong>all</strong> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11648">#11648</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/27f6f048f0bd6fd340e7010a96517340491ec119"><code>27f6f04</code></a> [red-knot] initial (very incomplete) flow graph (<a href="https://redirect.github.com/astral-sh/ruff/issues/11624">#11624</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d62a617938fbf56169af6fb8bd0900e3a9cb1526"><code>d62a617</code></a> red-knot: Don't refer to <code>Module</code> instances as IDs (<a href="https://redirect.github.com/astral-sh/ruff/issues/11649">#11649</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/16a926d138108b22214a3c010c4d739baa56fe4a"><code>16a926d</code></a> [red-knot] infer int literal types (<a href="https://redirect.github.com/astral-sh/ruff/issues/11623">#11623</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/05566c6075d6e4a22af95f9e3600253ce247f16a"><code>05566c6</code></a> Update <code>Who's Using Ruff?</code> section to include <code>Godot</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11647">#11647</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7ce17b773643556d9d2c7aab1506ece87991c0f0"><code>7ce17b7</code></a> Add Vim and Kate setup guide for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11615">#11615</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f9a64503c82873a73358cd8d910fc5a4b80f3f59"><code>f9a6450</code></a> Use char index rather than position for indent slice (<a href="https://redirect.github.com/astral-sh/ruff/issues/11645">#11645</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8a25531a7144fd4a6b62c54efde1ef28e2dc18c4"><code>8a25531</code></a> red-knot: improve internal documentation in <code>module.rs</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11638">#11638</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9b6d2ce1f2aa0db3d9b388b443e70fe760ada35c"><code>9b6d2ce</code></a> Fix incorect placement of trailing stub function comments (<a href="https://redirect.github.com/astral-sh/ruff/issues/11632">#11632</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.2...v0.4.7">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.4.2&new-version=0.4.7)](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