Skip to content

Commit

Permalink
Bump ruff from 0.0.286 to 0.0.287 (#234)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.286 to 0.0.287.
<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.0.287</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Rules</h3>
<ul>
<li>[refurb] Implement previuew <code>repeated-append</code> rule
(<code>FURB113</code>) by <a
href="https://github.com/SavchenkoValeriy"><code>@​SavchenkoValeriy</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6702">astral-sh/ruff#6702</a></li>
<li>[refurb] Implement previuew <code>delete-full-slice</code> rule
(<code>FURB131</code>) by <a
href="https://github.com/SavchenkoValeriy"><code>@​SavchenkoValeriy</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6897">astral-sh/ruff#6897</a></li>
<li>[refurb] Implement preview <code>check-and-remove-from-set</code>
rule (<code>FURB132</code>) by <a
href="https://github.com/SavchenkoValeriy"><code>@​SavchenkoValeriy</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6904">astral-sh/ruff#6904</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Expand <code>PERF401</code> and <code>PERF402</code> with type
checks by <a
href="https://github.com/qdegraaf"><code>@​qdegraaf</code></a> in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6994">astral-sh/ruff#6994</a></li>
<li>Insert space to avoid syntax error in RSE fixes by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6886">astral-sh/ruff#6886</a></li>
<li>Avoid PEP 604 upgrades that lead to invalid syntax by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6888">astral-sh/ruff#6888</a></li>
<li>Fix ranges for global usages by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6917">astral-sh/ruff#6917</a></li>
<li>Avoid invalid fix for C417 with separate keys and values by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6954">astral-sh/ruff#6954</a></li>
<li>Avoid panic when <code>typename</code> is provided as a keyword
argument by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6955">astral-sh/ruff#6955</a></li>
<li>Improve compatibility between multi-statement PYI rules by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/7024">astral-sh/ruff#7024</a></li>
<li>Fixed panic in <code>missing_copyright_notice</code> by <a
href="https://github.com/WindowGenerator"><code>@​WindowGenerator</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/7029">astral-sh/ruff#7029</a></li>
<li>Avoid lexer infinite loop on invalid input by <a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a> in
<a
href="https://redirect.github.com/astral-sh/ruff/pull/6937">astral-sh/ruff#6937</a></li>
<li>Fix <code>WithItem</code> ranges for parenthesized,
non-<code>as</code> items by <a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a>
in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6782">astral-sh/ruff#6782</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/SavchenkoValeriy"><code>@​SavchenkoValeriy</code></a>
made their first contribution in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6702">astral-sh/ruff#6702</a></li>
<li><a href="https://github.com/Anselmoo"><code>@​Anselmoo</code></a>
made their first contribution in <a
href="https://redirect.github.com/astral-sh/ruff/pull/6986">astral-sh/ruff#6986</a></li>
<li><a href="https://github.com/njgrisafi"><code>@​njgrisafi</code></a>
made their first contribution in <a
href="https://redirect.github.com/astral-sh/ruff/pull/7032">astral-sh/ruff#7032</a></li>
<li><a
href="https://github.com/WindowGenerator"><code>@​WindowGenerator</code></a>
made their first contribution in <a
href="https://redirect.github.com/astral-sh/ruff/pull/7029">astral-sh/ruff#7029</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.287">https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.287</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/2f3a950f6f2e2060b6c083b08ad9adacfae87185"><code>2f3a950</code></a>
Bump version to 0.0.287 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7038">#7038</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dea65536e9581c68f5393b05647697607e5eb26e"><code>dea6553</code></a>
Fix placement for comments within f-strings concatenations (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7047">#7047</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fbc9b5a604c98ab0e676a576a6e26be275efc364"><code>fbc9b5a</code></a>
Bump cloudflare/wrangler-action from 3.1.0 to 3.1.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7045">#7045</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/253a241f5d47f599a2e3f88dcbcde8d52cbcc2cc"><code>253a241</code></a>
Add dependabot for <code>cargo</code> dependencies (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7034">#7034</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/33806b8b7c870b66371f9bafde9893bf09ccc429"><code>33806b8</code></a>
Fixed panic in <code>missing_copyright_notice</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7029">#7029</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/afcd00da567e0bf65e7c28ced93e08bf6a2ed356"><code>afcd00d</code></a>
Create <code>ruff_notebook</code> crate (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7039">#7039</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/08e246764fcd9ec0662e0d9dbf93d842f6b86a45"><code>08e2467</code></a>
Refactor ruff_cli's run method to return on each branch (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7040">#7040</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0489bbc54ced7edae1bff606e3cae024a53bb77c"><code>0489bbc</code></a>
Match Black's formatting of trailing comments containing NBSP (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7030">#7030</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/60132da7bb3286ebad551135e3ce4620c3478f65"><code>60132da</code></a>
Add a <code>NotebookError</code> type to avoid returning
<code>Diagnostics</code> on error (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7035">#7035</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/17a44c0078d34c135772accc3fca6f2ed26cd494"><code>17a44c0</code></a>
Exclude pragma comments from measured line width (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7008">#7008</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.287">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.0.286&new-version=0.0.287)](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 Sep 4, 2023
2 parents 317f25e + 69dae68 commit 5387d28
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.0"
isort = "^5.12.0"
pre-commit = "^3.3.2"
ruff = ">=0.0.269,<0.0.287"
ruff = ">=0.0.269,<0.0.288"

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

0 comments on commit 5387d28

Please sign in to comment.