Commit 53c48bf
authored
Build(deps-dev): bump ruff from 0.12.11 to 0.12.12 (#270)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.12.11 to 0.12.12.
<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.12.12</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>Show fixes by default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19919">#19919</a>)</li>
<li>[<code>airflow</code>] Convert
<code>DatasetOrTimeSchedule(datasets=...)</code> to
<code>AssetOrTimeSchedule(assets=...)</code> (<code>AIR311</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20202">#20202</a>)</li>
<li>[<code>airflow</code>] Improve the <code>AIR002</code> error message
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/20173">#20173</a>)</li>
<li>[<code>airflow</code>] Move
<code>airflow.operators.postgres_operator.Mapping</code> from
<code>AIR302</code> to <code>AIR301</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20172">#20172</a>)</li>
<li>[<code>flake8-async</code>] Implement <code>blocking-input</code>
rule (<code>ASYNC250</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20122">#20122</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Make <code>PTH119</code> and
<code>PTH120</code> fixes unsafe because they can change behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20118">#20118</a>)</li>
<li>[<code>pylint</code>] Add U+061C to <code>PLE2502</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20106">#20106</a>)</li>
<li>[<code>ruff</code>] Fix false negative for empty f-strings in
<code>deque</code> calls (<code>RUF037</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20109">#20109</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Less confidently mark f-strings as empty when inferring truthiness
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/20152">#20152</a>)</li>
<li>[<code>fastapi</code>] Fix false positive for paths with spaces
around parameters (<code>FAST003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20077">#20077</a>)</li>
<li>[<code>flake8-comprehensions</code>] Skip <code>C417</code> when
lambda contains <code>yield</code>/<code>yield from</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20201">#20201</a>)</li>
<li>[<code>perflint</code>] Handle tuples in dictionary comprehensions
(<code>PERF403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19934">#19934</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Preserve return type annotation for
<code>ParamSpec</code> (<code>E731</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20108">#20108</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add fix safety sections to docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17490">#17490</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17499">#17499</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a href="https://github.com/11happy"><code>@11happy</code></a></li>
<li><a
href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li>
<li><a
href="https://github.com/BurntSushi"><code>@BurntSushi</code></a></li>
<li><a href="https://github.com/Gankra"><code>@Gankra</code></a></li>
<li><a
href="https://github.com/JelleZijlstra"><code>@JelleZijlstra</code></a></li>
<li><a
href="https://github.com/Kalmaegi"><code>@Kalmaegi</code></a></li>
<li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li>
<li><a
href="https://github.com/MatthewMckee4"><code>@MatthewMckee4</code></a></li>
<li><a
href="https://github.com/PrettyWood"><code>@PrettyWood</code></a></li>
<li><a href="https://github.com/Renkai"><code>@Renkai</code></a></li>
<li><a
href="https://github.com/ShaharNaveh"><code>@ShaharNaveh</code></a></li>
<li><a
href="https://github.com/amyreese"><code>@amyreese</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li>
<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/dcreager"><code>@dcreager</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li>
<li><a
href="https://github.com/github-actions"><code>@github-actions</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.12.12</h2>
<h3>Preview features</h3>
<ul>
<li>Show fixes by default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19919">#19919</a>)</li>
<li>[<code>airflow</code>] Convert
<code>DatasetOrTimeSchedule(datasets=...)</code> to
<code>AssetOrTimeSchedule(assets=...)</code> (<code>AIR311</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20202">#20202</a>)</li>
<li>[<code>airflow</code>] Improve the <code>AIR002</code> error message
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/20173">#20173</a>)</li>
<li>[<code>airflow</code>] Move
<code>airflow.operators.postgres_operator.Mapping</code> from
<code>AIR302</code> to <code>AIR301</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20172">#20172</a>)</li>
<li>[<code>flake8-async</code>] Implement <code>blocking-input</code>
rule (<code>ASYNC250</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20122">#20122</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Make <code>PTH119</code> and
<code>PTH120</code> fixes unsafe because they can change behavior (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20118">#20118</a>)</li>
<li>[<code>pylint</code>] Add U+061C to <code>PLE2502</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20106">#20106</a>)</li>
<li>[<code>ruff</code>] Fix false negative for empty f-strings in
<code>deque</code> calls (<code>RUF037</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20109">#20109</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Less confidently mark f-strings as empty when inferring truthiness
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/20152">#20152</a>)</li>
<li>[<code>fastapi</code>] Fix false positive for paths with spaces
around parameters (<code>FAST003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20077">#20077</a>)</li>
<li>[<code>flake8-comprehensions</code>] Skip <code>C417</code> when
lambda contains <code>yield</code>/<code>yield from</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20201">#20201</a>)</li>
<li>[<code>perflint</code>] Handle tuples in dictionary comprehensions
(<code>PERF403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19934">#19934</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pycodestyle</code>] Preserve return type annotation for
<code>ParamSpec</code> (<code>E731</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20108">#20108</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add fix safety sections to docs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17490">#17490</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17499">#17499</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/c6516e9b60e7b8d3d60b1e3a0fb0db04b533de54"><code>c6516e9</code></a>
Bump 0.12.12 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20242">#20242</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1aaa0847abdebfe910513b1c883977a996da2db5"><code>1aaa084</code></a>
[ty] More tests for TypedDict (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20205">#20205</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b49aa3507472a92b492de0fc924eff2c4bad4248"><code>b49aa35</code></a>
Split LICENSE addendum by derivation type (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20222">#20222</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1e34f3f20a71a4375ba64faad43f21171e3829cd"><code>1e34f3f</code></a>
[ty] Fix small test typo (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20220">#20220</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/77b2cee2233620636e03f547337ff805415c7465"><code>77b2cee</code></a>
[ty] Add functions for revealing assignability/subtyping constraints (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20217">#20217</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/200349c6e84d04a8e0d986488f7991b17b747964"><code>200349c</code></a>
[<code>flake8-comprehensions</code>] Skip <code>C417</code> when lambda
contains <code>yield</code>/`yield fro...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0d4f7dde9967704767d8515aadcf8c94353dde35"><code>0d4f7dd</code></a>
[ty] Treat <code>__new__</code> as a static method (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20212">#20212</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cb1ba0d4c26dd649bfab9de7ae0e84c0e28e910c"><code>cb1ba0d</code></a>
Expose <code>Indentation</code> in <code>ruff_python_codegen</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20216">#20216</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cda376afe079b54b6779704bdd740c9e81423e39"><code>cda376a</code></a>
[ty]eliminate definitely-impossible types from union in equality
narrowing (#...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b14fc961413c5ca032fdfdff29fcc6be4f9c8a75"><code>b14fc96</code></a>
Update Rust crate tracing-subscriber to v0.3.20 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/20162">#20162</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.12.11...0.12.12">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>2 files changed
+22
-22
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments