Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the patches group with 3 updates (#1290)
Bumps the patches group with 3 updates: [pydantic](https://github.com/pydantic/pydantic), [pytest](https://github.com/pytest-dev/pytest) and [ruff](https://github.com/astral-sh/ruff). Updates `pydantic` from 2.10.1 to 2.10.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.10.3 2024-12-03</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Set fields when <code>defer_build</code> is set on Pydantic dataclasses by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10984">#10984</a></li> <li>Do not resolve the JSON Schema reference for <code>dict</code> core schema keys by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10989">#10989</a></li> <li>Use the globals of the function when evaluating the return type for <code>PlainSerializer</code> and <code>WrapSerializer</code> functions by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11008">#11008</a></li> <li>Fix host required enforcement for urls to be compatible with v2.9 behavior by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11027">#11027</a></li> <li>Add a <code>default_factory_takes_validated_data</code> property to <code>FieldInfo</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11034">#11034</a></li> <li>Fix url json schema in <code>serialization</code> mode by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11035">#11035</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3">https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3</a></p> <h2>v2.10.2 2024-11-26</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Only evaluate <code>FieldInfo</code> annotations if required during schema building by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10769">#10769</a></li> <li>Do not evaluate annotations for private fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10962">#10962</a></li> <li>Support serialization as any for <code>Secret</code> types and <code>Url</code> types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10947">#10947</a></li> <li>Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10972">#10972</a></li> <li>Add hashing support for URL types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10975">#10975</a></li> <li>Hide <code>BaseModel.__replace__</code> definition from type checkers by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10979">10979</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2">https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.10.3 (2024-12-03)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.3">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Set fields when <code>defer_build</code> is set on Pydantic dataclasses by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10984">#10984</a></li> <li>Do not resolve the JSON Schema reference for <code>dict</code> core schema keys by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10989">#10989</a></li> <li>Use the globals of the function when evaluating the return type for <code>PlainSerializer</code> and <code>WrapSerializer</code> functions by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11008">#11008</a></li> <li>Fix host required enforcement for urls to be compatible with v2.9 behavior by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11027">#11027</a></li> <li>Add a <code>default_factory_takes_validated_data</code> property to <code>FieldInfo</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11034">#11034</a></li> <li>Fix url json schema in <code>serialization</code> mode by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11035">#11035</a></li> </ul> <h2>v2.10.2 (2024-11-25)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Only evaluate FieldInfo annotations if required during schema building by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10769">#10769</a></li> <li>Do not evaluate annotations for private fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10962">#10962</a></li> <li>Support serialization as any for <code>Secret</code> types and <code>Url</code> types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10947">#10947</a></li> <li>Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10972">#10972</a></li> <li>Add hashing support for URL types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10975">#10975</a></li> <li>Hide <code>BaseModel.__replace__</code> definition from type checkers by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10979">10979</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/c326748b0119f12e284c280825d4ab6d3576643c"><code>c326748</code></a> Prep for v2.10.3 release (<a href="https://redirect.github.com/pydantic/pydantic/issues/11038">#11038</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/68d35bffe00bf3b417d025a915effbfa8749d1e3"><code>68d35bf</code></a> Fix url json schema in <code>serialization</code> mode (<a href="https://redirect.github.com/pydantic/pydantic/issues/11035">#11035</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/fa69b4c09a64d2c12a61e9ff2a747f2a304f1ee2"><code>fa69b4c</code></a> Add a <code>default_factory_takes_validated_data</code> property to <code>FieldInfo</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/11034">#11034</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/435a7031f39c35286934edd0de6bfe134e8118c8"><code>435a703</code></a> Fix host required enforcement for urls to be compatible with v2.9 behavior (#...</li> <li><a href="https://github.com/pydantic/pydantic/commit/b2c4548f361b046062efe01e699b30121bb6b88d"><code>b2c4548</code></a> Use the globals of the function when evaluating the return type for `PlainSer...</li> <li><a href="https://github.com/pydantic/pydantic/commit/cb962c10b75c51fa4e1dc377c3d0db416ccb3bbf"><code>cb962c1</code></a> Do not resolve the JSON Schema reference for <code>dict</code> core schema keys (<a href="https://redirect.github.com/pydantic/pydantic/issues/10989">#10989</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/10ebcdf60319676211b2bd5d36d9507835df9cb6"><code>10ebcdf</code></a> Set fields when <code>defer_build</code> is set on Pydantic dataclasses (<a href="https://redirect.github.com/pydantic/pydantic/issues/10984">#10984</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/fe325154987b41345b356e5eb6d1584d7278bb0d"><code>fe32515</code></a> Prepare for v2.10.2 release (<a href="https://redirect.github.com/pydantic/pydantic/issues/10982">#10982</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/226cfaf62bcfbc2454f81eb46ffd5001ecc8baa7"><code>226cfaf</code></a> Hide <code>BaseModel.__replace__</code> definition from type checkers (<a href="https://redirect.github.com/pydantic/pydantic/issues/10979">#10979</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/02229a6ab176ae25d88f25e4c08fc84150558f86"><code>02229a6</code></a> hashing support for urls (<a href="https://redirect.github.com/pydantic/pydantic/issues/10975">#10975</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.3">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.3.3 to 8.3.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.3.4</h2> <h1>pytest 8.3.4 (2024-12-01)</h1> <h2>Bug fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12592">#12592</a>: Fixed <code>KeyError</code>{.interpreted-text role="class"} crash when using <code>--import-mode=importlib</code> in a directory layout where a directory contains a child directory with the same name.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12818">#12818</a>: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the <code>AST</code>, like <a href="https://github.com/alexmojaki/executing">executing</a>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12849">#12849</a>: ANSI escape codes for colored output now handled correctly in <code>pytest.fail</code>{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/9353">#9353</a>: <code>pytest.approx</code>{.interpreted-text role="func"} now uses strict equality when given booleans.</p> </li> </ul> <h2>Improved documentation</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10558">#10558</a>: Fix ambiguous docstring of <code>pytest.Config.getoption</code>{.interpreted-text role="func"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10829">#10829</a>: Improve documentation on the current handling of the <code>--basetemp</code> option and its lack of retention functionality (<code>temporary directory location and retention</code>{.interpreted-text role="ref"}).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12866">#12866</a>: Improved cross-references concerning the <code>recwarn</code>{.interpreted-text role="fixture"} fixture.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12966">#12966</a>: Clarify <code>filterwarnings</code>{.interpreted-text role="ref"} docs on filter precedence/order when using multiple <code>@pytest.mark.filterwarnings <pytest.mark.filterwarnings ref></code>{.interpreted-text role="ref"} marks.</p> </li> </ul> <h2>Contributor-facing changes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12497">#12497</a>: Fixed two failing pdb-related tests on Python 3.13.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/53f8b4e634c5066c4f797a87b20060edbb086240"><code>53f8b4e</code></a> Update pypa/gh-action-pypi-publish to v1.12.2</li> <li><a href="https://github.com/pytest-dev/pytest/commit/98dff36c9dc0a44881e9e90daf381f9079adf4cc"><code>98dff36</code></a> Prepare release version 8.3.4</li> <li><a href="https://github.com/pytest-dev/pytest/commit/1b474e221d5ced2c8c73924a0087e6e24ab6cd61"><code>1b474e2</code></a> approx: use exact comparison for bool (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13013">#13013</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b541721529feba7fcd0d069fa2437a817f340eba"><code>b541721</code></a> docs: Fix wrong statement about sys.modules with importlib import mode (<a href="https://redirect.github.com/pytest-dev/pytest/issues/1298">#1298</a>...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/16cb87b65036300d74472cd55eebca8fc3f8e703"><code>16cb87b</code></a> pytest.fail: fix ANSI escape codes for colored output (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12959">#12959</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12990">#12990</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/be6bc812b02454b2915755dd76ce74b877aeafad"><code>be6bc81</code></a> Issue <a href="https://redirect.github.com/pytest-dev/pytest/issues/12966">#12966</a> Clarify filterwarnings docs on precedence when using multiple ma...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/7aeb72bbc67bd1b8271eee57caa0a4e9b07038fc"><code>7aeb72b</code></a> Improve docs on basetemp and retention (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12912">#12912</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12928">#12928</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/c8758414cfd1646f273842e8f9292b2c15dcfcfb"><code>c875841</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12917">#12917</a> from pytest-dev/patchback/backports/8.3.x/ded1f44e5...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/6502816d977fcdbd65a3f4d8a63c0ce7c1f25649"><code>6502816</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12913">#12913</a> from jakkdl/dontfailonbadpath</li> <li><a href="https://github.com/pytest-dev/pytest/commit/52135b033fb949efbec6aed9dd9000275bb199fd"><code>52135b0</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12885">#12885</a> from The-Compiler/pdb-py311 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12887">#12887</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.8.0 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> <h2>0.8.1</h2> <h3>Preview features</h3> <ul> <li>Formatter: Avoid invalid syntax for format-spec with quotes for all Python versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/14625">#14625</a>)</li> <li>Formatter: Consider quotes inside format-specs when choosing the quotes for an f-string (<a href="https://redirect.github.com/astral-sh/ruff/pull/14493">#14493</a>)</li> <li>Formatter: Do not consider f-strings with escaped newlines as multiline (<a href="https://redirect.github.com/astral-sh/ruff/pull/14624">#14624</a>)</li> <li>Formatter: Fix f-string formatting in assignment statement (<a href="https://redirect.github.com/astral-sh/ruff/pull/14454">#14454</a>)</li> <li>Formatter: Fix unnecessary space around power operator (<code>**</code>) in overlong f-string expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/14489">#14489</a>)</li> <li>[<code>airflow</code>] Avoid implicit <code>schedule</code> argument to <code>DAG</code> and <code>@dag</code> (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14581">#14581</a>)</li> <li>[<code>flake8-builtins</code>] Exempt private built-in modules (<code>A005</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14505">#14505</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest.mark.parametrize</code> rules to check calls instead of decorators (<a href="https://redirect.github.com/astral-sh/ruff/pull/14515">#14515</a>)</li> <li>[<code>flake8-type-checking</code>] Implement <code>runtime-cast-value</code> (<code>TC006</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14511">#14511</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/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.0...0.8.2">compare view</a></li> </ul> </details> <br /> 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