Skip to content

Commit

Permalink
Bump ruff from 0.1.1 to 0.1.2 (#114)
Browse files Browse the repository at this point in the history
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.1 to 0.1.2.
<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.2</h2>
<p>This release includes the Beta version of the Ruff formatter — an
extremely fast, Black-compatible Python formatter.
Try it today with <code>ruff format</code>! <a
href="https://astral.sh/blog/the-ruff-formatter">Check out the blog
post</a> and <a href="https://docs.astral.sh/ruff/formatter/">read the
docs</a>.</p>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>non-ascii-module-import</code>
(<code>C2403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8056">#8056</a>)</li>
<li>[<code>pylint</code>] implement <code>non-ascii-name</code>
(<code>C2401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8038">#8038</a>)</li>
<li>[<code>pylint</code>] Implement unnecessary-lambda (W0108) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7953">#7953</a>)</li>
<li>[<code>refurb</code>] Implement <code>read-whole-file</code>
(<code>FURB101</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7682">#7682</a>)</li>
<li>Add fix for <code>E223</code>, <code>E224</code>, and
<code>E242</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8143">#8143</a>)</li>
<li>Add fix for <code>E225</code>, <code>E226</code>, <code>E227</code>,
and <code>E228</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8136">#8136</a>)</li>
<li>Add fix for <code>E252</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8142">#8142</a>)</li>
<li>Add fix for <code>E261</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8114">#8114</a>)</li>
<li>Add fix for <code>E273</code> and <code>E274</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8144">#8144</a>)</li>
<li>Add fix for <code>E275</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8133">#8133</a>)</li>
<li>Update <code>SIM401</code> to catch ternary operations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7415">#7415</a>)</li>
<li>Update <code>E721</code> to allow <code>is</code> and
<code>is</code> not for direct type comparisons (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7905">#7905</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Add <code>backports.strenum</code> to
<code>deprecated-imports</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8113">#8113</a>)</li>
<li>Update <code>SIM112</code> to ignore <code>https_proxy</code>,
<code>http_proxy</code>, and <code>no_proxy</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8140">#8140</a>)</li>
<li>Update fix for <code>literal-membership</code>
(<code>PLR6201</code>) to be unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8097">#8097</a>)</li>
<li>Update fix for <code>mutable-argument-defaults</code>
(<code>B006</code>) to be unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8108">#8108</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Change <code>line-ending</code> default to <code>auto</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8057">#8057</a>)</li>
<li>Respect parenthesized generators in <code>has_own_parentheses</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8100">#8100</a>)</li>
<li>Add caching to formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8089">#8089</a>)</li>
<li>Remove <code>--line-length</code> option from <code>format</code>
command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8131">#8131</a>)</li>
<li>Add formatter to <code>line-length</code> documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8150">#8150</a>)</li>
<li>Warn about incompatible formatter options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8088">#8088</a>)</li>
<li>Fix range of unparenthesized tuple subject in match statement (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8101">#8101</a>)</li>
<li>Remove experimental formatter warning (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8148">#8148</a>)</li>
<li>Don't move type param opening parenthesis comment (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8163">#8163</a>)</li>
<li>Update versions in format benchmark script (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8110">#8110</a>)</li>
<li>Avoid loading files for cached format results (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8134">#8134</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Show the <code>ruff format</code> command in help menus (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8167">#8167</a>)</li>
<li>Add <code>ruff version</code> command with long version display (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8034">#8034</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>New <code>pycodestyle.max-line-length</code> option (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8039">#8039</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.2</h2>
<p>This release includes the Beta version of the Ruff formatter — an
extremely fast, Black-compatible Python formatter.
Try it today with <code>ruff format</code>! <a
href="https://astral.sh/blog/the-ruff-formatter">Check out the blog
post</a> and <a href="https://docs.astral.sh/ruff/formatter/">read the
docs</a>.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>non-ascii-module-import</code>
(<code>C2403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8056">#8056</a>)</li>
<li>[<code>pylint</code>] implement <code>non-ascii-name</code>
(<code>C2401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8038">#8038</a>)</li>
<li>[<code>pylint</code>] Implement unnecessary-lambda (W0108) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7953">#7953</a>)</li>
<li>[<code>refurb</code>] Implement <code>read-whole-file</code>
(<code>FURB101</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7682">#7682</a>)</li>
<li>Add fix for <code>E223</code>, <code>E224</code>, and
<code>E242</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8143">#8143</a>)</li>
<li>Add fix for <code>E225</code>, <code>E226</code>, <code>E227</code>,
and <code>E228</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8136">#8136</a>)</li>
<li>Add fix for <code>E252</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8142">#8142</a>)</li>
<li>Add fix for <code>E261</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8114">#8114</a>)</li>
<li>Add fix for <code>E273</code> and <code>E274</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8144">#8144</a>)</li>
<li>Add fix for <code>E275</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8133">#8133</a>)</li>
<li>Update <code>SIM401</code> to catch ternary operations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7415">#7415</a>)</li>
<li>Update <code>E721</code> to allow <code>is</code> and
<code>is</code> not for direct type comparisons (<a
href="https://redirect.github.com/astral-sh/ruff/pull/7905">#7905</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>Add <code>backports.strenum</code> to
<code>deprecated-imports</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8113">#8113</a>)</li>
<li>Update <code>SIM112</code> to ignore <code>https_proxy</code>,
<code>http_proxy</code>, and <code>no_proxy</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8140">#8140</a>)</li>
<li>Update fix for <code>literal-membership</code>
(<code>PLR6201</code>) to be unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8097">#8097</a>)</li>
<li>Update fix for <code>mutable-argument-defaults</code>
(<code>B006</code>) to be unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8108">#8108</a>)</li>
</ul>
<h3>Formatter</h3>
<ul>
<li>Change <code>line-ending</code> default to <code>auto</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8057">#8057</a>)</li>
<li>Respect parenthesized generators in <code>has_own_parentheses</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/8100">#8100</a>)</li>
<li>Add caching to formatter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8089">#8089</a>)</li>
<li>Remove <code>--line-length</code> option from <code>format</code>
command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8131">#8131</a>)</li>
<li>Add formatter to <code>line-length</code> documentation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8150">#8150</a>)</li>
<li>Warn about incompatible formatter options (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8088">#8088</a>)</li>
<li>Fix range of unparenthesized tuple subject in match statement (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8101">#8101</a>)</li>
<li>Remove experimental formatter warning (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8148">#8148</a>)</li>
<li>Don't move type param opening parenthesis comment (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8163">#8163</a>)</li>
<li>Update versions in format benchmark script (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8110">#8110</a>)</li>
<li>Avoid loading files for cached format results (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8134">#8134</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Show the <code>ruff format</code> command in help menus (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8167">#8167</a>)</li>
<li>Add <code>ruff version</code> command with long version display (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8034">#8034</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>New <code>pycodestyle.max-line-length</code> option (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8039">#8039</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/3127c79b29d72f5b38d8a6bc81e069e14085ce11"><code>3127c79</code></a>
Release 0.1.2 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8168">#8168</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c91cc29d6d1a9b4a7a2ffa1644ec70409ad6a0e7"><code>c91cc29</code></a>
Update the formatter README (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8166">#8166</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8b665f40c81f80eb209e57e34da116b887ba7b82"><code>8b665f4</code></a>
Avoid parenthesizing octal/hex or binary literals in object positions
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/8160">#8160</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/84979f96736aefca6d19f656e68600a92690c737"><code>84979f9</code></a>
Rename <code>tab-size</code> to <code>indent-width</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8082">#8082</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c3dabc19337c114a932f6514c6bad723e514045f"><code>c3dabc1</code></a>
Un-hide the <code>ruff format</code> command (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8167">#8167</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2e81b9c3913d88db9903288e27d08b587c1dd493"><code>2e81b9c</code></a>
Don't move type param opening parenthesis comment (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8163">#8163</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9feb86caa4922c0503d3793c12a831aefdebbff1"><code>9feb86c</code></a>
New <code>pycodestyle.max-line-length</code> option (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8039">#8039</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2587aef1ea1b7b649a1825b94d42164438e349ce"><code>2587aef</code></a>
Add formatter to <code>line-length</code> documentation (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8150">#8150</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7f4ea6690dadfc89d46fff88e1f837eb8bc2b812"><code>7f4ea66</code></a>
Remove experimental formatter warning (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8148">#8148</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2f32a57cf469a8814eaf4eb8f680790ac5837d4e"><code>2f32a57</code></a>
Remove <code>--line-length</code> option from <code>format</code>
command (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8131">#8131</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.2">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.1&new-version=0.1.2)](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 committed Oct 25, 2023
2 parents 86ca48a + a7baf08 commit ff9a532
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 @@ -76,7 +76,7 @@ optional = true


[tool.poetry.group.linters.dependencies]
ruff = '>=0.0.290,<0.1.2'
ruff = '>=0.0.290,<0.1.3'


[tool.poetry.group.tests]
Expand Down

0 comments on commit ff9a532

Please sign in to comment.