-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit 5d87413
authored
Bump ruff from 0.13.0 to 0.13.1 (#145)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.13.0 to 0.13.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>0.13.1</h2>
<h2>Release Notes</h2>
<p>Released on 2025-09-18.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Detect unnecessary <code>None</code>
default for additional key expression types (<code>SIM910</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20343">#20343</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Add fix for <code>PTH123</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/20169">#20169</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix <code>PTH101</code>,
<code>PTH104</code>, <code>PTH105</code>, <code>PTH121</code> fixes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20143">#20143</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Make <code>PTH111</code> fix
unsafe because it can change behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20215">#20215</a>)</li>
<li>[<code>pycodestyle</code>] Fix <code>E301</code> to only trigger for
functions immediately within a class (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19768">#19768</a>)</li>
<li>[<code>refurb</code>] Mark <code>single-item-membership-test</code>
fix as always unsafe (<code>FURB171</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20279">#20279</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Handle t-strings for token-based rules and suppression comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20357">#20357</a>)</li>
<li>[<code>flake8-bandit</code>] Fix truthiness: dict-only
<code>**</code> displays not truthy for <code>shell</code>
(<code>S602</code>, <code>S604</code>, <code>S609</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20177">#20177</a>)</li>
<li>[<code>flake8-simplify</code>] Fix diagnostic to show correct method
name for <code>str.rsplit</code> calls (<code>SIM905</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20459">#20459</a>)</li>
<li>[<code>flynt</code>] Use triple quotes for joined raw strings with
newlines (<code>FLY002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20197">#20197</a>)</li>
<li>[<code>pyupgrade</code>] Fix false positive when class name is
shadowed by local variable (<code>UP008</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20427">#20427</a>)</li>
<li>[<code>pyupgrade</code>] Prevent infinite loop with
<code>I002</code> and <code>UP026</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20327">#20327</a>)</li>
<li>[<code>ruff</code>] Recognize t-strings, generators, and lambdas in
<code>invalid-index-type</code> (<code>RUF016</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20213">#20213</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>RUF102</code>] Respect rule redirects in invalid rule code
detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20245">#20245</a>)</li>
<li>[<code>flake8-bugbear</code>] Mark the fix for
<code>unreliable-callable-check</code> as always unsafe
(<code>B004</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20318">#20318</a>)</li>
<li>[<code>ruff</code>] Allow dataclass attribute value instantiation
from nested frozen dataclass (<code>RUF009</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20352">#20352</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add fixes to <code>output-format=sarif</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20300">#20300</a>)</li>
<li>Treat panics as fatal diagnostics, sort panics last (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20258">#20258</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>ruff</code>] Add <code>analyze.string-imports-min-dots</code>
to settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20375">#20375</a>)</li>
<li>Update README.md with Albumentations new repository URL (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20415">#20415</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>Bump MSRV to Rust 1.88 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20470">#20470</a>)</li>
<li>Enable inline noqa for multiline strings in playground (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20442">#20442</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/chirizxc"><code>@chirizxc</code></a></li>
<li><a
href="https://github.com/danparizher"><code>@danparizher</code></a></li>
<li><a
href="https://github.com/IDrokin117"><code>@IDrokin117</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.13.1</h2>
<p>Released on 2025-09-18.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-simplify</code>] Detect unnecessary <code>None</code>
default for additional key expression types (<code>SIM910</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20343">#20343</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Add fix for <code>PTH123</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/20169">#20169</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix <code>PTH101</code>,
<code>PTH104</code>, <code>PTH105</code>, <code>PTH121</code> fixes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20143">#20143</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Make <code>PTH111</code> fix
unsafe because it can change behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20215">#20215</a>)</li>
<li>[<code>pycodestyle</code>] Fix <code>E301</code> to only trigger for
functions immediately within a class (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19768">#19768</a>)</li>
<li>[<code>refurb</code>] Mark <code>single-item-membership-test</code>
fix as always unsafe (<code>FURB171</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20279">#20279</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Handle t-strings for token-based rules and suppression comments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20357">#20357</a>)</li>
<li>[<code>flake8-bandit</code>] Fix truthiness: dict-only
<code>**</code> displays not truthy for <code>shell</code>
(<code>S602</code>, <code>S604</code>, <code>S609</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20177">#20177</a>)</li>
<li>[<code>flake8-simplify</code>] Fix diagnostic to show correct method
name for <code>str.rsplit</code> calls (<code>SIM905</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20459">#20459</a>)</li>
<li>[<code>flynt</code>] Use triple quotes for joined raw strings with
newlines (<code>FLY002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20197">#20197</a>)</li>
<li>[<code>pyupgrade</code>] Fix false positive when class name is
shadowed by local variable (<code>UP008</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20427">#20427</a>)</li>
<li>[<code>pyupgrade</code>] Prevent infinite loop with
<code>I002</code> and <code>UP026</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20327">#20327</a>)</li>
<li>[<code>ruff</code>] Recognize t-strings, generators, and lambdas in
<code>invalid-index-type</code> (<code>RUF016</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20213">#20213</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>RUF102</code>] Respect rule redirects in invalid rule code
detection (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20245">#20245</a>)</li>
<li>[<code>flake8-bugbear</code>] Mark the fix for
<code>unreliable-callable-check</code> as always unsafe
(<code>B004</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20318">#20318</a>)</li>
<li>[<code>ruff</code>] Allow dataclass attribute value instantiation
from nested frozen dataclass (<code>RUF009</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20352">#20352</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add fixes to <code>output-format=sarif</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20300">#20300</a>)</li>
<li>Treat panics as fatal diagnostics, sort panics last (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20258">#20258</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>ruff</code>] Add <code>analyze.string-imports-min-dots</code>
to settings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20375">#20375</a>)</li>
<li>Update README.md with Albumentations new repository URL (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20415">#20415</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>Bump MSRV to Rust 1.88 (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20470">#20470</a>)</li>
<li>Enable inline noqa for multiline strings in playground (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20442">#20442</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/chirizxc"><code>@chirizxc</code></a></li>
<li><a
href="https://github.com/danparizher"><code>@danparizher</code></a></li>
<li><a
href="https://github.com/IDrokin117"><code>@IDrokin117</code></a></li>
<li><a
href="https://github.com/amyreese"><code>@amyreese</code></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/706be0a6e7e09936511198f2ff8982915520d138"><code>706be0a</code></a>
Add <code>pyproject.toml</code> to rooster config
<code>version_files</code> and bump to 0.13.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/2">#2</a>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/7b40428b6a1aaad88abb05b2fa291f0ae895d379"><code>7b40428</code></a>
Bump 0.13.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20473">#20473</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b9b57553681965e5cde1120f3f78ec50f8c7cd4a"><code>b9b5755</code></a>
Upgrade to the latest rooster version and include contributors in
CHANGELOG (...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b4b5d67a4a4cc7193b4867dcc748c8399571eaf8"><code>b4b5d67</code></a>
[<code>flynt</code>] Use triple quotes for joined raw strings with
newlines (<code>FLY002</code>) (...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0b60584b7e561f7ff7120f3ff6ecb5394522d90f"><code>0b60584</code></a>
Bump MSRV to Rust 1.88 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20470">#20470</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/821b2f8b2e033bfff407a908e11d71126b7bef45"><code>821b2f8</code></a>
[<code>refurb</code>] Mark <code>single-item-membership-test</code> fix
as always unsafe (<code>FURB171</code>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1758f26d941afac9ed497c5ad34253f3c5446d07"><code>1758f26</code></a>
Update rust toolchain to 1.90 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20469">#20469</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2502ff7638da3d290eacd4fcef34809faaeddfd5"><code>2502ff7</code></a>
[ty] Make TypeIs invariant in its type argument (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20428">#20428</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/144373fb3c8690043eec30a12bd5d6c55e8e9ca6"><code>144373f</code></a>
[<code>flake8-use-pathlib</code>] Fix <code>PTH101</code>,
<code>PTH104</code>, <code>PTH105</code>, <code>PTH121</code> fixes (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20143">#20143</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/91995aa5169175de55494bc3bb59781c7a3097fc"><code>91995aa</code></a>
[<code>pyupgrade</code>] Fix false positive when class name is shadowed
by local variabl...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.13.0...0.13.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>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 46e5808 commit 5d87413Copy full SHA for 5d87413
File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedFilter options
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedCollapse file: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
|
0 commit comments