Skip to content

Commit

Permalink
Bump ruff from 0.4.6 to 0.4.7 (#366)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.6 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>] Enable <code>F822</code> in
<code>__init__.py</code> files by default (<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>
</blockquote>
</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>] Enable <code>F822</code> in
<code>__init__.py</code> files by default (<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>
</blockquote>
</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.6...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.6&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>
  • Loading branch information
github-actions[bot] authored Jun 3, 2024
2 parents 688fc32 + 12c2a01 commit 49b4175
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 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 @@ -31,7 +31,7 @@ mypy = "^1.3.0"
black = ">=23.3,<25.0"
isort = "^5.12.0"
pre-commit = "^3.3.2"
ruff = ">=0.0.269,<0.4.7"
ruff = ">=0.0.269,<0.4.8"

[tool.poetry.group.test.dependencies]
pydantic = ">=1.10.8,<3.0.0"
Expand Down

0 comments on commit 49b4175

Please sign in to comment.