Skip to content

Commit

Permalink
Build(deps-dev): Bump ruff from 0.1.2 to 0.1.3 (#119)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.2 to 0.1.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>v0.1.3</h2>
<p>This release includes a variety of improvements to the Ruff formatter
(available now as <code>ruff format</code>), removing several known and
unintentional deviations from Black.</p>
<h2>Changes</h2>
<h3>Formatter</h3>
<ul>
<li>Avoid space around pow for <code>None</code>, <code>True</code> and
<code>False</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8189">#8189</a>)</li>
<li>Avoid sorting all paths in the format command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8181">#8181</a>)</li>
<li>Insert necessary blank line between class and leading comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8224">#8224</a>)</li>
<li>Avoid introducing new parentheses in annotated assignments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8233">#8233</a>)</li>
<li>Refine the warnings about incompatible linter options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8196">#8196</a>)</li>
<li>Add test and basic implementation for formatter preview mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8044">#8044</a>)</li>
<li>Refine warning about incompatible <code>isort</code> settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8192">#8192</a>)</li>
<li>Only omit optional parentheses for starting or ending with
parentheses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8238">#8238</a>)</li>
<li>Use source type to determine parser mode for formatting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8205">#8205</a>)</li>
<li>Don't warn about magic trailing comma when
<code>isort.force-single-line</code> is true (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8244">#8244</a>)</li>
<li>Use <code>SourceKind::diff</code> for formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8240">#8240</a>)</li>
<li>Fix <code>fmt:off</code> with trailing child comment (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8234">#8234</a>)</li>
<li>Formatter parentheses support for <code>IpyEscapeCommand</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8207">#8207</a>)</li>
</ul>
<h3>Linter</h3>
<ul>
<li>[<code>pylint</code>] Add buffer methods to
<code>bad-dunder-method-name</code> (<code>PLW3201</code>) exclusions
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8190">#8190</a>)</li>
<li>Match rule prefixes from <code>external</code> codes setting in
<code>unused-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8177">#8177</a>)</li>
<li>Use <code>line-length</code> setting for isort in lieu of
<code>pycodestyle.max-line-length</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8235">#8235</a>)</li>
<li>Update fix for <code>unnecessary-paren-on-raise-exception</code> to
unsafe for unknown types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8231">#8231</a>)</li>
<li>Correct quick fix message for <code>W605</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8255">#8255</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix typo in max-doc-length documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8201">#8201</a>)</li>
<li>Improve documentation around linter-formatter conflicts (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8257">#8257</a>)</li>
<li>Fix link to error suppression documentation in
<code>unused-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8172">#8172</a>)</li>
<li>Add <code>external</code> option to <code>unused-noqa</code>
documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8171">#8171</a>)</li>
<li>Add title attribute to icons (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8060">#8060</a>)</li>
<li>Clarify unsafe case in RSE102 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8256">#8256</a>)</li>
<li>Fix skipping formatting examples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8210">#8210</a>)</li>
<li>docs: fix name of <code>magic-trailing-comma</code> option in README
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8200">#8200</a>)</li>
<li>Add note about scope of rule changing in versioning policy (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8169">#8169</a>)</li>
<li>Document: Fix default lint rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8218">#8218</a>)</li>
<li>Fix a wrong setting in configuration.md (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8186">#8186</a>)</li>
<li>Fix misspelled TOML headers in the tutorial (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8209">#8209</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<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/TeamSpen210"><code>@​TeamSpen210</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></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.1.3</h2>
<p>This release includes a variety of improvements to the Ruff
formatter, removing several known and
unintentional deviations from Black.</p>
<h3>Formatter</h3>
<ul>
<li>Avoid space around pow for <code>None</code>, <code>True</code> and
<code>False</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8189">#8189</a>)</li>
<li>Avoid sorting all paths in the format command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8181">#8181</a>)</li>
<li>Insert necessary blank line between class and leading comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8224">#8224</a>)</li>
<li>Avoid introducing new parentheses in annotated assignments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8233">#8233</a>)</li>
<li>Refine the warnings about incompatible linter options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8196">#8196</a>)</li>
<li>Add test and basic implementation for formatter preview mode (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8044">#8044</a>)</li>
<li>Refine warning about incompatible <code>isort</code> settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8192">#8192</a>)</li>
<li>Only omit optional parentheses for starting or ending with
parentheses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8238">#8238</a>)</li>
<li>Use source type to determine parser mode for formatting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8205">#8205</a>)</li>
<li>Don't warn about magic trailing comma when
<code>isort.force-single-line</code> is true (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8244">#8244</a>)</li>
<li>Use <code>SourceKind::diff</code> for formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8240">#8240</a>)</li>
<li>Fix <code>fmt:off</code> with trailing child comment (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8234">#8234</a>)</li>
<li>Formatter parentheses support for <code>IpyEscapeCommand</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8207">#8207</a>)</li>
</ul>
<h3>Linter</h3>
<ul>
<li>[<code>pylint</code>] Add buffer methods to
<code>bad-dunder-method-name</code> (<code>PLW3201</code>) exclusions
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8190">#8190</a>)</li>
<li>Match rule prefixes from <code>external</code> codes setting in
<code>unused-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8177">#8177</a>)</li>
<li>Use <code>line-length</code> setting for isort in lieu of
<code>pycodestyle.max-line-length</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8235">#8235</a>)</li>
<li>Update fix for <code>unnecessary-paren-on-raise-exception</code> to
unsafe for unknown types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8231">#8231</a>)</li>
<li>Correct quick fix message for <code>W605</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8255">#8255</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix typo in max-doc-length documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8201">#8201</a>)</li>
<li>Improve documentation around linter-formatter conflicts (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8257">#8257</a>)</li>
<li>Fix link to error suppression documentation in
<code>unused-noqa</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8172">#8172</a>)</li>
<li>Add <code>external</code> option to <code>unused-noqa</code>
documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8171">#8171</a>)</li>
<li>Add title attribute to icons (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8060">#8060</a>)</li>
<li>Clarify unsafe case in RSE102 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8256">#8256</a>)</li>
<li>Fix skipping formatting examples (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8210">#8210</a>)</li>
<li>docs: fix name of <code>magic-trailing-comma</code> option in README
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8200">#8200</a>)</li>
<li>Add note about scope of rule changing in versioning policy (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8169">#8169</a>)</li>
<li>Document: Fix default lint rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8218">#8218</a>)</li>
<li>Fix a wrong setting in configuration.md (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8186">#8186</a>)</li>
<li>Fix misspelled TOML headers in the tutorial (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8209">#8209</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/3e7b92991b996871cdbd674782732fcfc214a5e2"><code>3e7b929</code></a>
Bump version to v0.1.3 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8259">#8259</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/25d4ddaa60d0b401ded596a1517c39848f905d9b"><code>25d4dda</code></a>
Add title attribute to icons (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8060">#8060</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/63a5a12a41337fca2535da42279946ae7c33e681"><code>63a5a12</code></a>
Improve documentation around linter-formatter conflicts (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8257">#8257</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c32f943d867df36ef4d962481afb113228db70fe"><code>c32f943</code></a>
Don't warn about magic trailing comma when
<code>isort.force-single-line</code> is true ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d211074f59b9f65973dc35f8511870000dfc6365"><code>d211074</code></a>
Clarify unsafe case in RSE102 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8256">#8256</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4ffd4ed61f9b8f95999b22d41f0698e7dd0977da"><code>4ffd4ed</code></a>
Correct quick fix message for <code>W605</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8255">#8255</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a4dd1e5fad5967efbf6f60e213827430628fe674"><code>a4dd1e5</code></a>
Refine the warnings about incompatible linter options (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8196">#8196</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/be3307e9a62a4fe0fd65f6c3fcb0c86b5f0d99d6"><code>be3307e</code></a>
Make <code>unnecessary-paren-on-raise-exception</code> an unsafe edit
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/8231">#8231</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/317d3dd61218bcc35b20a42403f3c9acc1963be2"><code>317d3dd</code></a>
Add test and basic implementation for formatter preview mode (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8044">#8044</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f5e850745cc9bcaeb308a3a139b4e86db58096aa"><code>f5e8507</code></a>
Only omit optional parentheses for starting or ending with parentheses
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/8238">#8238</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.2...v0.1.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.1.2&new-version=0.1.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
Diapolo10 authored Oct 31, 2023
2 parents 631da51 + f2eecc7 commit 1807653
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 @@ -89,7 +89,7 @@ optional = true


[tool.poetry.group.linters.dependencies]
ruff = '^0.1.2'
ruff = '^0.1.3'


[tool.poetry.group.tests]
Expand Down

0 comments on commit 1807653

Please sign in to comment.