generated from Diapolo10/python-poetry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit d1cd0de
authored
Bump ruff from 0.3.0 to 0.3.1 (#46)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.0 to 0.3.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.3.1</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pycodestyle</code>] Fix E301 not triggering on decorated
methods. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10117">#10117</a>)</li>
<li>[<code>pycodestyle</code>] Respect <code>isort</code> settings in
blank line rules (<code>E3*</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10096">#10096</a>)</li>
<li>[<code>pycodestyle</code>] Make blank lines in typing stub files
optional (<code>E3*</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10098">#10098</a>)</li>
<li>[<code>pylint</code>] Implement <code>singledispatch-method</code>
(<code>E1519</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10140">#10140</a>)</li>
<li>[<code>pylint</code>] Implement
<code>useless-exception-statement</code> (<code>W0133</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10176">#10176</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-debugger</code>] Check for use of <code>debugpy</code>
and <code>ptvsd</code> debug modules (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10177">#10177</a>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10194">#10194</a>)</li>
<li>[<code>pyupgrade</code>] Generate diagnostic for all valid f-string
conversions regardless of line length (<code>UP032</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10238">#10238</a>)</li>
<li>[<code>pep8_naming</code>] Add fixes for <code>N804</code> and
<code>N805</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10215">#10215</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Colorize the output of <code>ruff format --diff</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10110">#10110</a>)</li>
<li>Make <code>--config</code> and <code>--isolated</code> global flags
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10150">#10150</a>)</li>
<li>Correctly expand tildes and environment variables in paths passed to
<code>--config</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10219">#10219</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Accept a PEP 440 version specifier for <code>required-version</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10216">#10216</a>)</li>
<li>Implement isort's <code>default-section</code> setting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10149">#10149</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Remove trailing space from <code>CapWords</code> message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10220">#10220</a>)</li>
<li>Respect external codes in file-level exemptions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10203">#10203</a>)</li>
<li>[<code>flake8-raise</code>] Avoid false-positives for
parens-on-raise with <code>future.exception()</code>
(<code>RSE102</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10206">#10206</a>)</li>
<li>[<code>pylint</code>] Add fix for unary expressions in
<code>PLC2801</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9587">#9587</a>)</li>
<li>[<code>ruff</code>] Fix RUF028 not allowing <code># fmt: skip</code>
on match cases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10178">#10178</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/Glyphack"><code>@Glyphack</code></a></li>
<li><a href="https://github.com/GtrMo"><code>@GtrMo</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a
href="https://github.com/augustelalande"><code>@augustelalande</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li>
<li><a
href="https://github.com/diceroll123"><code>@diceroll123</code></a></li>
<li><a
href="https://github.com/dspicher"><code>@dspicher</code></a></li>
<li><a
href="https://github.com/eerovaher"><code>@eerovaher</code></a></li>
<li><a
href="https://github.com/greenstar1151"><code>@greenstar1151</code></a></li>
<li><a
href="https://github.com/hoel-bagard"><code>@hoel-bagard</code></a></li>
<li><a href="https://github.com/jbkkd"><code>@jbkkd</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.3.1</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pycodestyle</code>] Fix E301 not triggering on decorated
methods. (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10117">#10117</a>)</li>
<li>[<code>pycodestyle</code>] Respect <code>isort</code> settings in
blank line rules (<code>E3*</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10096">#10096</a>)</li>
<li>[<code>pycodestyle</code>] Make blank lines in typing stub files
optional (<code>E3*</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10098">#10098</a>)</li>
<li>[<code>pylint</code>] Implement <code>singledispatch-method</code>
(<code>E1519</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10140">#10140</a>)</li>
<li>[<code>pylint</code>] Implement
<code>useless-exception-statement</code> (<code>W0133</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10176">#10176</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-debugger</code>] Check for use of <code>debugpy</code>
and <code>ptvsd</code> debug modules (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10177">#10177</a>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10194">#10194</a>)</li>
<li>[<code>pyupgrade</code>] Generate diagnostic for all valid f-string
conversions regardless of line length (<code>UP032</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10238">#10238</a>)</li>
<li>[<code>pep8_naming</code>] Add fixes for <code>N804</code> and
<code>N805</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10215">#10215</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Colorize the output of <code>ruff format --diff</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10110">#10110</a>)</li>
<li>Make <code>--config</code> and <code>--isolated</code> global flags
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10150">#10150</a>)</li>
<li>Correctly expand tildes and environment variables in paths passed to
<code>--config</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10219">#10219</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Accept a PEP 440 version specifier for <code>required-version</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/10216">#10216</a>)</li>
<li>Implement isort's <code>default-section</code> setting (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10149">#10149</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Remove trailing space from <code>CapWords</code> message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10220">#10220</a>)</li>
<li>Respect external codes in file-level exemptions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10203">#10203</a>)</li>
<li>[<code>flake8-raise</code>] Avoid false-positives for
parens-on-raise with <code>future.exception()</code>
(<code>RSE102</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10206">#10206</a>)</li>
<li>[<code>pylint</code>] Add fix for unary expressions in
<code>PLC2801</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9587">#9587</a>)</li>
<li>[<code>ruff</code>] Fix RUF028 not allowing <code># fmt: skip</code>
on match cases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10178">#10178</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/b9264a5a11508642954dab6d4f2672b4acbbeaa4"><code>b9264a5</code></a>
Set maturin version in <code>release.yaml</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10257">#10257</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ea79f616bc0f75185723574c7032e340aa60941e"><code>ea79f61</code></a>
Bump version to v0.3.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10252">#10252</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f999b1b617114ad8cd3e8e6a1dd650b5e622961d"><code>f999b1b</code></a>
Tweak <code>E712</code> docs (<a
href="https://redirect.github.com/astral-sh/ruff/issues/8613">#8613</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fe6afbe406e5ac4ed189f0ae2800ef09a5427c3a"><code>fe6afbe</code></a>
Fix <code>ruff-action</code> documentation to consistently use
<code>args</code> instead of `option...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cbd927f3463e1de4b664103b2cc70d5e67486e0e"><code>cbd927f</code></a>
Make rule PT012 example clearer (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10248">#10248</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6159a8e532eadc5535cea0ae0343d6dd46f4b7fc"><code>6159a8e</code></a>
[<code>pyupgrade</code>] Generate diagnostic for all valid f-string
conversions regardle...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8ea5b08700c6dba8553ac450c3b4b373c958e7f6"><code>8ea5b08</code></a>
refactor: Use <code>QualifiedName</code> for
<code>Imported::call_path</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10214">#10214</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4c05c258deb638186dc8d08875c374079ff13f24"><code>4c05c25</code></a>
Add encoding when opening files in generate_mkdocs.py (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10244">#10244</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/af6ea2f5e4b1702d5062831624492d94f57a0f81"><code>af6ea2f</code></a>
[<code>pycodestyle</code>]: Make blank lines in typing stub files
optional (<code>E3*</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10098">#10098</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/46ab9dec181f7736a0d32be4bad59d00228c1819"><code>46ab9de</code></a>
[<code>pycodestyle</code>] Respect <code>isort</code> settings in blank
line rules (<code>E3*</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10096">#10096</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.3.0...v0.3.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