Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps-dev): Bump ruff from 0.8.1 to 0.8.2 in the dev group
Bumps the dev group with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.8.1 to 0.8.2 <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.2</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Avoid deprecated values (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14582">#14582</a>)</li> <li>[<code>airflow</code>] Extend removed names for <code>AIR302</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14734">#14734</a>)</li> <li>[<code>ruff</code>] Extend <code>unnecessary-regular-expression</code> to non-literal strings (<code>RUF055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14679">#14679</a>)</li> <li>[<code>ruff</code>] Implement <code>used-dummy-variable</code> (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14611">#14611</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-cast-to-int</code> (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14697">#14697</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>airflow</code>] Check <code>AIR001</code> from builtin or providers <code>operators</code> module (<a href="https://redirect.github.com/astral-sh/ruff/pull/14631">#14631</a>)</li> <li>[<code>flake8-pytest-style</code>] Remove <code>@</code> in <code>pytest.mark.parametrize</code> rule messages (<a href="https://redirect.github.com/astral-sh/ruff/pull/14770">#14770</a>)</li> <li>[<code>pandas-vet</code>] Skip rules if the <code>panda</code> module hasn't been seen (<a href="https://redirect.github.com/astral-sh/ruff/pull/14671">#14671</a>)</li> <li>[<code>pylint</code>] Fix false negatives for <code>ascii</code> and <code>sorted</code> in <code>len-as-condition</code> (<code>PLC1802</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14692">#14692</a>)</li> <li>[<code>refurb</code>] Guard <code>hashlib</code> imports and mark <code>hashlib-digest-hex</code> fix as safe (<code>FURB181</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14694">#14694</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>flake8-import-conventions</code>] Improve syntax check for aliases supplied in configuration for <code>unconventional-import-alias</code> (<code>ICN001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14745">#14745</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Revert: [pyflakes] Avoid false positives in <code>@no_type_check</code> contexts (<code>F821</code>, <code>F722</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/14615">#14615</a>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14726">#14726</a>)</li> <li>[<code>pep8-naming</code>] Avoid false positive for <code>class Bar(type(foo))</code> (<code>N804</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14683">#14683</a>)</li> <li>[<code>pycodestyle</code>] Handle f-strings properly for <code>invalid-escape-sequence</code> (<code>W605</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14748">#14748</a>)</li> <li>[<code>pylint</code>] Ignore <code>@overload</code> in <code>PLR0904</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14730">#14730</a>)</li> <li>[<code>refurb</code>] Handle non-finite decimals in <code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14596">#14596</a>)</li> <li>[<code>ruff</code>] Avoid emitting <code>assignment-in-assert</code> when all references to the assigned variable are themselves inside <code>assert</code>s (<code>RUF018</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14661">#14661</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Improve docs for <code>flake8-use-pathlib</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/14741">#14741</a>)</li> <li>Improve error messages and docs for <code>flake8-comprehensions</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/14729">#14729</a>)</li> <li>[<code>flake8-type-checking</code>] Expands <code>TC006</code> docs to better explain itself (<a href="https://redirect.github.com/astral-sh/ruff/pull/14749">#14749</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/Daverball"><code>@Daverball</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/Lokejoke"><code>@Lokejoke</code></a></li> <li><a href="https://github.com/Matt-Ord"><code>@Matt-Ord</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/Well2333"><code>@Well2333</code></a></li> <li><a href="https://github.com/connorskees"><code>@connorskees</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> </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.2</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Avoid deprecated values (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14582">#14582</a>)</li> <li>[<code>airflow</code>] Extend removed names for <code>AIR302</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14734">#14734</a>)</li> <li>[<code>ruff</code>] Extend <code>unnecessary-regular-expression</code> to non-literal strings (<code>RUF055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14679">#14679</a>)</li> <li>[<code>ruff</code>] Implement <code>used-dummy-variable</code> (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14611">#14611</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-cast-to-int</code> (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14697">#14697</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>airflow</code>] Check <code>AIR001</code> from builtin or providers <code>operators</code> module (<a href="https://redirect.github.com/astral-sh/ruff/pull/14631">#14631</a>)</li> <li>[<code>flake8-pytest-style</code>] Remove <code>@</code> in <code>pytest.mark.parametrize</code> rule messages (<a href="https://redirect.github.com/astral-sh/ruff/pull/14770">#14770</a>)</li> <li>[<code>pandas-vet</code>] Skip rules if the <code>panda</code> module hasn't been seen (<a href="https://redirect.github.com/astral-sh/ruff/pull/14671">#14671</a>)</li> <li>[<code>pylint</code>] Fix false negatives for <code>ascii</code> and <code>sorted</code> in <code>len-as-condition</code> (<code>PLC1802</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14692">#14692</a>)</li> <li>[<code>refurb</code>] Guard <code>hashlib</code> imports and mark <code>hashlib-digest-hex</code> fix as safe (<code>FURB181</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14694">#14694</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>flake8-import-conventions</code>] Improve syntax check for aliases supplied in configuration for <code>unconventional-import-alias</code> (<code>ICN001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14745">#14745</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Revert: [pyflakes] Avoid false positives in <code>@no_type_check</code> contexts (<code>F821</code>, <code>F722</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/14615">#14615</a>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14726">#14726</a>)</li> <li>[<code>pep8-naming</code>] Avoid false positive for <code>class Bar(type(foo))</code> (<code>N804</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14683">#14683</a>)</li> <li>[<code>pycodestyle</code>] Handle f-strings properly for <code>invalid-escape-sequence</code> (<code>W605</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14748">#14748</a>)</li> <li>[<code>pylint</code>] Ignore <code>@overload</code> in <code>PLR0904</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14730">#14730</a>)</li> <li>[<code>refurb</code>] Handle non-finite decimals in <code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14596">#14596</a>)</li> <li>[<code>ruff</code>] Avoid emitting <code>assignment-in-assert</code> when all references to the assigned variable are themselves inside <code>assert</code>s (<code>RUF018</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14661">#14661</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Improve docs for <code>flake8-use-pathlib</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/14741">#14741</a>)</li> <li>Improve error messages and docs for <code>flake8-comprehensions</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/14729">#14729</a>)</li> <li>[<code>flake8-type-checking</code>] Expands <code>TC006</code> docs to better explain itself (<a href="https://redirect.github.com/astral-sh/ruff/pull/14749">#14749</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/b0e26e6fc8ad60e368b8b03b367b6ac408acf9f7"><code>b0e26e6</code></a> Bump version to 0.8.2 (<a href="https://redirect.github.com/astral-sh/ruff/issues/14789">#14789</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e9941cd71459a75ee556422b37a192bf681ed425"><code>e9941cd</code></a> [red-knot] Move standalone expr inference to <code>for</code> non-name target (<a href="https://redirect.github.com/astral-sh/ruff/issues/14788">#14788</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/43bf1a8907fc0e48e8ca7b52485a349772e91de9"><code>43bf1a8</code></a> Add tests for "keyword as identifier" syntax errors (<a href="https://redirect.github.com/astral-sh/ruff/issues/14754">#14754</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fda8b1f884c8598960b2e3f0c729e17ac62bfe35"><code>fda8b1f</code></a> [<code>ruff</code>] Unnecessary cast to <code>int</code> (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/14697">#14697</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2d3f55787557fc16a15e298d516ae719d12bc25c"><code>2d3f557</code></a> [red-knot] Fallback for <code>typing._NoDefaultType</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14783">#14783</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/bd27bfab5d636cd5979ce78423ba069833ab13e2"><code>bd27bfa</code></a> [red-knot] Unify <code>setup_db()</code> functions, add <code>TestDb</code> builder (<a href="https://redirect.github.com/astral-sh/ruff/issues/14777">#14777</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/155d34bbb9a0ebda17bbd465f5fa5dfa2b640c37"><code>155d34b</code></a> [red-knot] Infer precise types for <code>len()</code> calls (<a href="https://redirect.github.com/astral-sh/ruff/issues/14599">#14599</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/04c887c8fce0521a8a98cee04349199ac256a67a"><code>04c887c</code></a> Fix references for <code>async-busy-wait</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14775">#14775</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/af43bd4b0fa5fdf016252085771cfb75846a0b0c"><code>af43bd4</code></a> [red-knot] Gradual forms do not participate in equivalence/subtyping (<a href="https://redirect.github.com/astral-sh/ruff/issues/14758">#14758</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/614917769e07467e8646fb6a28b23e90d3df980c"><code>6149177</code></a> Remove <code>@</code> in <code>pytest.mark.parametrize</code> rule messages (<a href="https://redirect.github.com/astral-sh/ruff/issues/14770">#14770</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.8.1...0.8.2">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.1&new-version=0.8.2)](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>
- Loading branch information