generated from Diapolo10/python-poetry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit f0db1e5
authored
Bump ruff from 0.2.0 to 0.2.1 (#35)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.0 to 0.2.1.
<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.2.1</h2>
<h2>Changes</h2>
<p>This release includes support for range formatting (i.e., the ability
to format specific lines
within a source file).</p>
<h3>Preview features</h3>
<ul>
<li>[<code>refurb</code>] Implement <code>missing-f-string-syntax</code>
(<code>RUF027</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9728">#9728</a>)</li>
<li>Format module-level docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9725">#9725</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Add <code>--range</code> option to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9733">#9733</a>)</li>
<li>Don't trim last empty line in docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9813">#9813</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Skip empty lines when determining base indentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9795">#9795</a>)</li>
<li>Drop <code>__get__</code> and <code>__set__</code> from
<code>unnecessary-dunder-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9791">#9791</a>)</li>
<li>Respect generic <code>Protocol</code> in ellipsis removal (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9841">#9841</a>)</li>
<li>Revert "Use publicly available Apple Silicon runners (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9726">#9726</a>)"
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9834">#9834</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Skip LibCST parsing for standard dedent adjustments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9769">#9769</a>)</li>
<li>Remove CST-based fixer for <code>C408</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9822">#9822</a>)</li>
<li>Add our own ignored-names abstractions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9802">#9802</a>)</li>
<li>Remove CST-based fixers for <code>C400</code>, <code>C401</code>,
<code>C410</code>, and <code>C418</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9819">#9819</a>)</li>
<li>Use <code>AhoCorasick</code> to speed up quote match (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9773">#9773</a>)</li>
<li>Remove CST-based fixers for <code>C405</code> and <code>C409</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9821">#9821</a>)</li>
<li>Add fast-path for comment detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9808">#9808</a>)</li>
<li>Invert order of checks in <code>zero-sleep-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9766">#9766</a>)</li>
<li>Short-circuit typing matches based on imports (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9800">#9800</a>)</li>
<li>Run dunder method rule on methods directly (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9815">#9815</a>)</li>
<li>Track top-level module imports in the semantic model (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9775">#9775</a>)</li>
<li>Slight speed-up for lowercase and uppercase identifier checks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9798">#9798</a>)</li>
<li>Remove LibCST-based fixer for <code>C403</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9818">#9818</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update <code>max-pos-args</code> example to
<code>max-positional-args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9797">#9797</a>)</li>
<li>Fixed example code in <code>weak_cryptographic_key.rs</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9774">#9774</a>)</li>
<li>Fix references to deprecated <code>ANN</code> rules in changelog (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9771">#9771</a>)</li>
<li>Fix default for <code>max-positional-args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9838">#9838</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/Glyphack"><code>@Glyphack</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</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.2.1</h2>
<p>This release includes support for range formatting (i.e., the ability
to format specific lines
within a source file).</p>
<h3>Preview features</h3>
<ul>
<li>[<code>refurb</code>] Implement <code>missing-f-string-syntax</code>
(<code>RUF027</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9728">#9728</a>)</li>
<li>Format module-level docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9725">#9725</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Add <code>--range</code> option to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9733">#9733</a>)</li>
<li>Don't trim last empty line in docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9813">#9813</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Skip empty lines when determining base indentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9795">#9795</a>)</li>
<li>Drop <code>__get__</code> and <code>__set__</code> from
<code>unnecessary-dunder-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9791">#9791</a>)</li>
<li>Respect generic <code>Protocol</code> in ellipsis removal (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9841">#9841</a>)</li>
<li>Revert "Use publicly available Apple Silicon runners (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9726">#9726</a>)"
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9834">#9834</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Skip LibCST parsing for standard dedent adjustments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9769">#9769</a>)</li>
<li>Remove CST-based fixer for <code>C408</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9822">#9822</a>)</li>
<li>Add our own ignored-names abstractions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9802">#9802</a>)</li>
<li>Remove CST-based fixers for <code>C400</code>, <code>C401</code>,
<code>C410</code>, and <code>C418</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9819">#9819</a>)</li>
<li>Use <code>AhoCorasick</code> to speed up quote match (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9773">#9773</a>)</li>
<li>Remove CST-based fixers for <code>C405</code> and <code>C409</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/9821">#9821</a>)</li>
<li>Add fast-path for comment detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9808">#9808</a>)</li>
<li>Invert order of checks in <code>zero-sleep-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9766">#9766</a>)</li>
<li>Short-circuit typing matches based on imports (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9800">#9800</a>)</li>
<li>Run dunder method rule on methods directly (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9815">#9815</a>)</li>
<li>Track top-level module imports in the semantic model (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9775">#9775</a>)</li>
<li>Slight speed-up for lowercase and uppercase identifier checks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9798">#9798</a>)</li>
<li>Remove LibCST-based fixer for <code>C403</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9818">#9818</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update <code>max-pos-args</code> example to
<code>max-positional-args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9797">#9797</a>)</li>
<li>Fixed example code in <code>weak_cryptographic_key.rs</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9774">#9774</a>)</li>
<li>Fix references to deprecated <code>ANN</code> rules in changelog (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9771">#9771</a>)</li>
<li>Fix default for <code>max-positional-args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9838">#9838</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/0ccca4083a533d28cb9f181974d787db22a8d315"><code>0ccca40</code></a>
Bump version to v0.2.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9843">#9843</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/041ce1e166418b8ab44ad9e944fe7e8798750ee7"><code>041ce1e</code></a>
Respect generic <code>Protocol</code> in ellipsis removal (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9841">#9841</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/36b752876e772af8c084af7ed35b9bb96a4d9af5"><code>36b7528</code></a>
Implement <code>AnyNode</code>/<code>AnyNodeRef</code> for
<code>FStringFormatSpec</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9836">#9836</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b3dc5654731aa6a152b43a992c020c59bc416ce3"><code>b3dc565</code></a>
Add <code>--range</code> option to <code>ruff format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9733">#9733</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e708c08b64108665aed2ae9914f7eff5eab46e27"><code>e708c08</code></a>
Fix default for <code>max-positional-args</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9838">#9838</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/73902323d5b9888dee1dad3151819464904bfc0f"><code>7390232</code></a>
Revert "Use publicly available Apple Silicon runners (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9726">#9726</a>)"
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/9834">#9834</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9781563ef636bcc76483a329b983cb062d1371c6"><code>9781563</code></a>
Add fast-path for comment detection (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9808">#9808</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/84aea7f0c8c90224d72c21edb0cca5e0f9f53904"><code>84aea7f</code></a>
Drop <code>__get__</code> and <code>__set__</code> from
<code>unnecessary-dunder-call</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9791">#9791</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b47f85eb697265364da2c2a1d2b5c3e13ba4e93a"><code>b47f85e</code></a>
Preview Style: Format module level docstring (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9725">#9725</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/80fc02e7d567bd9063d83754595572b03497e077"><code>80fc02e</code></a>
Don't trim last empty line in docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9813">#9813</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.2.0...v0.2.1">compare
view</a></li>
</ul>
</details>
<br />
[](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>File tree
Expand file treeCollapse file tree
2 files changed
+20
-20
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+20
-20
lines changed+19-19Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
| 94 | + | |
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
|
0 commit comments