Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): Bump ruff from 0.8.4 to 0.8.6 in the development-dep…
…endencies group (#361) Bumps the development-dependencies group with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.8.4 to 0.8.6 <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.6</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>format</code>]: Preserve multiline implicit concatenated strings in docstring positions (<a href="https://redirect.github.com/astral-sh/ruff/pull/15126">#15126</a>)</li> <li>[<code>ruff</code>] Add rule to detect empty literal in deque call (<code>RUF025</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15104">#15104</a>)</li> <li>[<code>ruff</code>] Avoid reporting when <code>ndigits</code> is possibly negative (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15234">#15234</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-todos</code>] remove issue code length restriction (<code>TD003</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15175">#15175</a>)</li> <li>[<code>pyflakes</code>] Ignore errors in <code>@no_type_check</code> string annotations (<code>F722</code>, <code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15215">#15215</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Show errors for attempted fixes only when passed <code>--verbose</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15237">#15237</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>ruff</code>] Avoid syntax error when removing int over multiple lines (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15230">#15230</a>)</li> <li>[<code>pyupgrade</code>] Revert "Add all PEP-585 names to <code>UP006</code> rule" (<a href="https://redirect.github.com/astral-sh/ruff/pull/15250">#15250</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/InSyncWithFoo"><code>@InSyncWithFoo</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> <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/dcreager"><code>@dcreager</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/mdbernard"><code>@mdbernard</code></a></li> <li><a href="https://github.com/sharkdp"><code>@sharkdp</code></a></li> <li><a href="https://github.com/w0nder1ng"><code>@w0nder1ng</code></a></li> </ul> <h2>Install ruff 0.8.6</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.8.6/ruff-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.8.6/ruff-installer.ps1 | iex" </code></pre> <!-- 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.6</h2> <h3>Preview features</h3> <ul> <li>[<code>format</code>]: Preserve multiline implicit concatenated strings in docstring positions (<a href="https://redirect.github.com/astral-sh/ruff/pull/15126">#15126</a>)</li> <li>[<code>ruff</code>] Add rule to detect empty literal in deque call (<code>RUF025</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15104">#15104</a>)</li> <li>[<code>ruff</code>] Avoid reporting when <code>ndigits</code> is possibly negative (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15234">#15234</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-todos</code>] remove issue code length restriction (<code>TD003</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15175">#15175</a>)</li> <li>[<code>pyflakes</code>] Ignore errors in <code>@no_type_check</code> string annotations (<code>F722</code>, <code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15215">#15215</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Show errors for attempted fixes only when passed <code>--verbose</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15237">#15237</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>ruff</code>] Avoid syntax error when removing int over multiple lines (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15230">#15230</a>)</li> <li>[<code>pyupgrade</code>] Revert "Add all PEP-585 names to <code>UP006</code> rule" (<a href="https://redirect.github.com/astral-sh/ruff/pull/15250">#15250</a>)</li> </ul> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/6b907c1305702158a6b8b27a29a4d5adde7a478c"><code>6b907c1</code></a> Ruff 0.8.6 (<a href="https://redirect.github.com/astral-sh/ruff/issues/15253">#15253</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f319531632ecb683051891637be56ec58d470993"><code>f319531</code></a> Make unreachable a test rule for now (<a href="https://redirect.github.com/astral-sh/ruff/issues/15252">#15252</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e4d9fe036ade3ee6c912fb0bb94c3886c695e736"><code>e4d9fe0</code></a> Revert "Add all PEP-585 names to UP006 rule" (<a href="https://redirect.github.com/astral-sh/ruff/issues/15250">#15250</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/baf0d660eb4800116b57d7f52c4043f7de64e904"><code>baf0d66</code></a> Update salsa (<a href="https://redirect.github.com/astral-sh/ruff/issues/15243">#15243</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/bde8ecddca5852e752b7014c9da9ac445a6ca33c"><code>bde8ecd</code></a> [red-knot] Remove unneeded branch in <code>Type::is_equivalent_to()</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/15242">#15242</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/842f882ef0094d9505e132fa9b6fad99f3e44f23"><code>842f882</code></a> [<code>ruff</code>] Avoid reporting when <code>ndigits</code> is possibly negative (<code>RUF057</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15234">#15234</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/75015b0ed91b728f22897c3bf12af5e6451e163a"><code>75015b0</code></a> Attribute panics to the mdtests that cause them (<a href="https://redirect.github.com/astral-sh/ruff/issues/15241">#15241</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/706d87f239cb3af6562581d221bf6cd1f1636b66"><code>706d87f</code></a> Show errors for attempted fixes only when passed <code>--verbose</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/15237">#15237</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/0837cdd9314cb9ee1df087142af975d492e3e7ba"><code>0837cdd</code></a> [<code>RUF</code>] Add rule to detect empty literal in deque call (<code>RUF025</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15104">#15104</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/0dbfa8d0e0ecac75d65c7f754976f4b959b123a5"><code>0dbfa8d</code></a> TD003: remove issue code length restriction (<a href="https://redirect.github.com/astral-sh/ruff/issues/15175">#15175</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.8.4...0.8.6">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.6)](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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information