Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pip prod(deps): bump ruff from 0.8.4 to 0.8.5 (#3692)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.4 to 0.8.5. <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.8.5</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend names moved from core to provider (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15145">#15145</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15159">#15159</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15196">#15196</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15216">#15216</a>)</li> <li>[<code>airflow</code>] Extend rule to check class attributes, methods, arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15054">#15054</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15083">#15083</a>)</li> <li>[<code>fastapi</code>] Update <code>FAST002</code> to check keyword-only arguments (<a href="https://redirect.github.com/astral-sh/ruff/pull/15119">#15119</a>)</li> <li>[<code>flake8-type-checking</code>] Disable <code>TC006</code> and <code>TC007</code> in stub files (<a href="https://redirect.github.com/astral-sh/ruff/pull/15179">#15179</a>)</li> <li>[<code>pylint</code>] Detect nested methods correctly (<code>PLW1641</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15032">#15032</a>)</li> <li>[<code>ruff</code>] Detect more strict-integer expressions (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14833">#14833</a>)</li> <li>[<code>ruff</code>] Implement <code>falsy-dict-get-fallback</code> (<code>RUF056</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15160">#15160</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-round</code> (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14828">#14828</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Visit PEP 764 inline <code>TypedDict</code> keys as non-type-expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/15073">#15073</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip <code>C416</code> if comprehension contains unpacking (<a href="https://redirect.github.com/astral-sh/ruff/pull/14909">#14909</a>)</li> <li>[<code>flake8-pie</code>] Allow <code>cast(SomeType, ...)</code> (<code>PIE796</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15141">#15141</a>)</li> <li>[<code>flake8-simplify</code>] More precise inference for dictionaries (<code>SIM300</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15164">#15164</a>)</li> <li>[<code>flake8-use-pathlib</code>] Catch redundant joins in <code>PTH201</code> and avoid syntax errors (<a href="https://redirect.github.com/astral-sh/ruff/pull/15177">#15177</a>)</li> <li>[<code>pycodestyle</code>] Preserve original value format (<code>E731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15097">#15097</a>)</li> <li>[<code>pydocstyle</code>] Split on first whitespace character (<code>D403</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15082">#15082</a>)</li> <li>[<code>pyupgrade</code>] Add all PEP-585 names to <code>UP006</code> rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/5454">#5454</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>flake8-type-checking</code>] Improve flexibility of <code>runtime-evaluated-decorators</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15204">#15204</a>)</li> <li>[<code>pydocstyle</code>] Add setting to ignore missing documentation for <code>*args</code> and <code>**kwargs</code> parameters (<code>D417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15210">#15210</a>)</li> <li>[<code>ruff</code>] Add an allowlist for <code>unsafe-markup-use</code> (<code>RUF035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15076">#15076</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix type subscript on older python versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/15090">#15090</a>)</li> <li>Use <code>TypeChecker</code> for detecting <code>fastapi</code> routes (<a href="https://redirect.github.com/astral-sh/ruff/pull/15093">#15093</a>)</li> <li>[<code>pycodestyle</code>] Avoid false positives and negatives related to type parameter default syntax (<code>E225</code>, <code>E251</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15214">#15214</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix incorrect doc in <code>shebang-not-executable</code> (<code>EXE001</code>) and add git+windows solution to executable bit (<a href="https://redirect.github.com/astral-sh/ruff/pull/15208">#15208</a>)</li> <li>Rename rules currently not conforming to naming convention (<a href="https://redirect.github.com/astral-sh/ruff/pull/15102">#15102</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/Avasam"><code>@Avasam</code></a></li> <li><a href="https://github.com/Daverball"><code>@Daverball</code></a></li> <li><a href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</code></a></li> <li><a href="https://github.com/KotlinIsland"><code>@KotlinIsland</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</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.8.5</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend names moved from core to provider (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15145">#15145</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15159">#15159</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15196">#15196</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15216">#15216</a>)</li> <li>[<code>airflow</code>] Extend rule to check class attributes, methods, arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15054">#15054</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/15083">#15083</a>)</li> <li>[<code>fastapi</code>] Update <code>FAST002</code> to check keyword-only arguments (<a href="https://redirect.github.com/astral-sh/ruff/pull/15119">#15119</a>)</li> <li>[<code>flake8-type-checking</code>] Disable <code>TC006</code> and <code>TC007</code> in stub files (<a href="https://redirect.github.com/astral-sh/ruff/pull/15179">#15179</a>)</li> <li>[<code>pylint</code>] Detect nested methods correctly (<code>PLW1641</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15032">#15032</a>)</li> <li>[<code>ruff</code>] Detect more strict-integer expressions (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14833">#14833</a>)</li> <li>[<code>ruff</code>] Implement <code>falsy-dict-get-fallback</code> (<code>RUF056</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15160">#15160</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-round</code> (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14828">#14828</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Visit PEP 764 inline <code>TypedDict</code> keys as non-type-expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/15073">#15073</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip <code>C416</code> if comprehension contains unpacking (<a href="https://redirect.github.com/astral-sh/ruff/pull/14909">#14909</a>)</li> <li>[<code>flake8-pie</code>] Allow <code>cast(SomeType, ...)</code> (<code>PIE796</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15141">#15141</a>)</li> <li>[<code>flake8-simplify</code>] More precise inference for dictionaries (<code>SIM300</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15164">#15164</a>)</li> <li>[<code>flake8-use-pathlib</code>] Catch redundant joins in <code>PTH201</code> and avoid syntax errors (<a href="https://redirect.github.com/astral-sh/ruff/pull/15177">#15177</a>)</li> <li>[<code>pycodestyle</code>] Preserve original value format (<code>E731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15097">#15097</a>)</li> <li>[<code>pydocstyle</code>] Split on first whitespace character (<code>D403</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15082">#15082</a>)</li> <li>[<code>pyupgrade</code>] Add all PEP-585 names to <code>UP006</code> rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/5454">#5454</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>flake8-type-checking</code>] Improve flexibility of <code>runtime-evaluated-decorators</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15204">#15204</a>)</li> <li>[<code>pydocstyle</code>] Add setting to ignore missing documentation for <code>*args</code> and <code>**kwargs</code> parameters (<code>D417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15210">#15210</a>)</li> <li>[<code>ruff</code>] Add an allowlist for <code>unsafe-markup-use</code> (<code>RUF035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15076">#15076</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix type subscript on older python versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/15090">#15090</a>)</li> <li>Use <code>TypeChecker</code> for detecting <code>fastapi</code> routes (<a href="https://redirect.github.com/astral-sh/ruff/pull/15093">#15093</a>)</li> <li>[<code>pycodestyle</code>] Avoid false positives and negatives related to type parameter default syntax (<code>E225</code>, <code>E251</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15214">#15214</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix incorrect doc in <code>shebang-not-executable</code> (<code>EXE001</code>) and add git+windows solution to executable bit (<a href="https://redirect.github.com/astral-sh/ruff/pull/15208">#15208</a>)</li> <li>Rename rules currently not conforming to naming convention (<a href="https://redirect.github.com/astral-sh/ruff/pull/15102">#15102</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/11e873eb45628c35b6d1c4bdaa1e515701ba601a"><code>11e873e</code></a> Bump version to 0.8.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/15219">#15219</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/89ea0371a4b779fb2691950b65855ed331fd26e9"><code>89ea037</code></a> [<code>ruff</code>] Unnecessary rounding (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/14828">#14828</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f8c966574281ae1da6ce2482359af1c06f5580e6"><code>f8c9665</code></a> [<code>airflow</code>] Extend names moved from core to provider (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15216">#15216</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/af95f6b5774b42d27d9b27eda269764f79f15f28"><code>af95f6b</code></a> [<code>pycodestyle</code>] Avoid false positives and negatives related to type parameter...</li> <li><a href="https://github.com/astral-sh/ruff/commit/79682a28b836066e5a36a04f502a1e7d8e675590"><code>79682a2</code></a> Sync vendored typeshed stubs (<a href="https://redirect.github.com/astral-sh/ruff/issues/15213">#15213</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1ef0f615f173e5899fe0e3cfd08e015ff5565e4b"><code>1ef0f61</code></a> [<code>flake8-type-checking</code>] Improve flexibility of `runtime-evaluated-decorators...</li> <li><a href="https://github.com/astral-sh/ruff/commit/7ca3f9515cd0621b86c2beb5ae2abdd36b9ffe8e"><code>7ca3f95</code></a> Update references to <code>astral-sh/ruff-action</code> from v2 to <code>v3</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/15212">#15212</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/32de5801f7af76b7851da3ed580fea3068896c4f"><code>32de580</code></a> [airflow]: extend names moved from core to provider (AIR303) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15196">#15196</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cfd609357933da47742fa928dd7155915d28dba7"><code>cfd6093</code></a> [<code>pydocstyle</code>] Add setting to ignore missing documentation for<code>*args</code> and `**...</li> <li><a href="https://github.com/astral-sh/ruff/commit/3c9021ffcba2f622594c4465be0080e7af80a7ce"><code>3c9021f</code></a> [ruff] Implement falsy-dict-get-fallback (RUF056) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15160">#15160</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.8.4...0.8.5">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.8.4&new-version=0.8.5)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: superlopuh <superlopuh@users.noreply.github.com>
- Loading branch information