Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the dependencies group in /.config with 11 updates (#4393)
Bumps the dependencies group in /.config with 11 updates: | Package | From | To | | --- | --- | --- | | [ansible-lint](https://github.com/ansible/ansible-lint) | `25.1.1` | `25.1.2` | | [mypy](https://github.com/python/mypy) | `1.14.1` | `1.15.0` | | [pytest-plus](https://github.com/pytest-dev/pytest-plus) | `0.8.0` | `0.8.1` | | [ruff](https://github.com/astral-sh/ruff) | `0.9.4` | `0.9.5` | | [ansible-compat](https://github.com/ansible/ansible-compat) | `25.1.1` | `25.1.2` | | [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) | `4.12.3` | `4.13.3` | | [coverage](https://github.com/nedbat/coveragepy) | `7.6.10` | `7.6.11` | | [identify](https://github.com/pre-commit/identify) | `2.6.6` | `2.6.7` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.6.1` | `9.6.3` | | [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings) | `0.27.0` | `0.28.0` | | [mkdocstrings-python](https://github.com/mkdocstrings/python) | `1.13.0` | `1.14.6` | Updates `ansible-lint` from 25.1.1 to 25.1.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ansible/ansible-lint/releases">ansible-lint's releases</a>.</em></p> <blockquote> <h2>v25.1.2</h2> <h2>Bugfixes</h2> <ul> <li>Require ansible-compat>=25.1.2 (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4512">#4512</a>) <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a></li> <li>Improve output with broken multiline playbooks (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4506">#4506</a>) <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a></li> <li>Avoid broken referencing dependency (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4505">#4505</a>) <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a></li> <li>Clarify partial-become rule description (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4500">#4500</a>) <a href="https://github.com/alisonlhart"><code>@alisonlhart</code></a></li> <li>Allow linter to capture and display initialization warnings (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4504">#4504</a>) <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a></li> <li>Update ansible-compat to <code>v25.1.1</code> (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4499">#4499</a>) <a href="https://github.com/audgirka"><code>@audgirka</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ansible/ansible-lint/commit/9cf49a01ac6b34f45aab16f0bbac1196fcd681e5"><code>9cf49a0</code></a> Require ansible-compat>=25.1.2 (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4512">#4512</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/1789856df5ea94426d218fb92942317c2fdad75b"><code>1789856</code></a> Bump codecov/codecov-action from 5.1.2 to 5.3.1 (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4510">#4510</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/08118942fc0e69cf8e080ca377520b325f4f7092"><code>0811894</code></a> Improve output with broken multiline playbooks (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4506">#4506</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/5314965a0880ed698a841f9843fd22947ac62a4d"><code>5314965</code></a> Linter maintenance (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4507">#4507</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/fbd9f1162283f3f1f462ed77ca5ab88167a2f57d"><code>fbd9f11</code></a> Bump the dependencies group in /.config with 5 updates (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4509">#4509</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/d427f591004328d8aaf315aaf24e6e9488fa25f0"><code>d427f59</code></a> Avoid broken referencing dependency (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4505">#4505</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/5f1ab089ee844fb851835336851fa27dc0007e39"><code>5f1ab08</code></a> Clarify partial-become rule description (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4500">#4500</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/3be4baf13d3d7f0fbb82cf2bdb69d37ef135aaf7"><code>3be4baf</code></a> Allow linter to capture and display initialization warnings (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4504">#4504</a>)</li> <li><a href="https://github.com/ansible/ansible-lint/commit/be8cf91d5dce89dea5a9eb5f80476d3d92cb8877"><code>be8cf91</code></a> Update ansible-compat to <code>v25.1.1</code> (<a href="https://redirect.github.com/ansible/ansible-lint/issues/4499">#4499</a>)</li> <li>See full diff in <a href="https://github.com/ansible/ansible-lint/compare/v25.1.1...v25.1.2">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.14.1 to 1.15.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Next Release</h2> <p>...</p> <h2>Mypy 1.15</h2> <p>We’ve just uploaded mypy 1.15 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h3>Performance Improvements</h3> <p>Mypy is up to 40% faster in some use cases. This improvement comes largely from tuning the performance of the garbage collector. Additionally, the release includes several micro-optimizations that may be impactful for large projects.</p> <p>Contributed by Jukka Lehtosalo</p> <ul> <li>PR <a href="https://redirect.github.com/python/mypy/pull/18306">18306</a></li> <li>PR <a href="https://redirect.github.com/python/mypy/pull/18302">18302</a></li> <li>PR <a href="https://redirect.github.com/python/mypy/pull/18298">18298</a></li> <li>PR <a href="https://redirect.github.com/python/mypy/pull/18299">18299</a></li> </ul> <h3>Mypyc Accelerated Mypy Wheels for ARM Linux</h3> <p>For best performance, mypy can be compiled to C extension modules using mypyc. This makes mypy 3-5x faster than when interpreted with pure Python. We now build and upload mypyc accelerated mypy wheels for <code>manylinux_aarch64</code> to PyPI, making it easy for Linux users on ARM platforms to realise this speedup -- just <code>pip install</code> the latest mypy.</p> <p>Contributed by Christian Bundy and Marc Mueller (PR <a href="https://redirect.github.com/mypyc/mypy_mypyc-wheels/pull/76">mypy_mypyc-wheels#76</a>, PR <a href="https://redirect.github.com/mypyc/mypy_mypyc-wheels/pull/89">mypy_mypyc-wheels#89</a>).</p> <h3><code>--strict-bytes</code></h3> <p>By default, mypy treats <code>bytearray</code> and <code>memoryview</code> values as assignable to the <code>bytes</code> type, for historical reasons. Use the <code>--strict-bytes</code> flag to disable this behavior. <a href="https://peps.python.org/pep-0688">PEP 688</a> specified the removal of this special case. The flag will be enabled by default in <strong>mypy 2.0</strong>.</p> <p>Contributed by Ali Hamdan (PR <a href="https://redirect.github.com/python/mypy/pull/18263">18263</a>) and Shantanu Jain (PR <a href="https://redirect.github.com/python/mypy/pull/13952">13952</a>).</p> <h3>Improvements to Reachability Analysis and Partial Type Handling in Loops</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/9397454fb5aead107461b089e7cf190bf538d20a"><code>9397454</code></a> remove +dev from version ahead of final release</li> <li><a href="https://github.com/python/mypy/commit/686b591a69db216f714ad50698db785f4ac63eb0"><code>686b591</code></a> remove "unreleased" from 1.15 changelog entry</li> <li><a href="https://github.com/python/mypy/commit/cb4b243a5d9e03173e3e7275e5b92b98afaefb60"><code>cb4b243</code></a> Various small updates to 1.15 changelog (<a href="https://redirect.github.com/python/mypy/issues/18599">#18599</a>)</li> <li><a href="https://github.com/python/mypy/commit/1a265024f901399c701a772e8c1f9e6e110f45e6"><code>1a26502</code></a> Prepare changelog for 1.15 release (<a href="https://redirect.github.com/python/mypy/issues/18583">#18583</a>)</li> <li><a href="https://github.com/python/mypy/commit/d4515e4ad3eee6318744c64cf2eab0ea0b5b7562"><code>d4515e4</code></a> Fix a few PR links in the changelog (<a href="https://redirect.github.com/python/mypy/issues/18586">#18586</a>)</li> <li><a href="https://github.com/python/mypy/commit/f83b6435b0c07a327f6b567dfb5e79ffa36708a2"><code>f83b643</code></a> Add object self-type to tuple test fixture (<a href="https://redirect.github.com/python/mypy/issues/18592">#18592</a>)</li> <li><a href="https://github.com/python/mypy/commit/ebc2cb8befbadfc10b962af018b3fa3842d3fd87"><code>ebc2cb8</code></a> Prevent crash on generic NamedTuple with unresolved typevar bound (<a href="https://redirect.github.com/python/mypy/issues/18585">#18585</a>)</li> <li><a href="https://github.com/python/mypy/commit/63c251e249e52256629dbe8b8334937a092f792d"><code>63c251e</code></a> empty commit to trigger wheel rebuild</li> <li><a href="https://github.com/python/mypy/commit/c30573e7b95eef9d057ff42ebfd326438dac3c42"><code>c30573e</code></a> Fix literal context for ternary expressions (for real) (<a href="https://redirect.github.com/python/mypy/issues/18545">#18545</a>)</li> <li><a href="https://github.com/python/mypy/commit/23d862dd6fbb905a69bcb31e88746dc7a1eb4a43"><code>23d862d</code></a> Fix isinstance with explicit (non generic) type alias (<a href="https://redirect.github.com/python/mypy/issues/18512">#18512</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.14.1...v1.15.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-plus` from 0.8.0 to 0.8.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-plus/releases">pytest-plus's releases</a>.</em></p> <blockquote> <h2>v0.8.1</h2> <h2>Bugfixes</h2> <ul> <li>Make log collection more resilient (<a href="https://redirect.github.com/pytest-dev/pytest-plus/issues/42">#42</a>) <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-plus/commit/64c38bc39656bd07d920fe132c11f469aa927cf1"><code>64c38bc</code></a> Make log collection more resilient (<a href="https://redirect.github.com/pytest-dev/pytest-plus/issues/42">#42</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-plus/commit/fd8fb03b63d342f5487d4494bcbbf2ffd6788a89"><code>fd8fb03</code></a> Bump codecov/codecov-action from 5.1.2 to 5.3.1 (<a href="https://redirect.github.com/pytest-dev/pytest-plus/issues/41">#41</a>)</li> <li>See full diff in <a href="https://github.com/pytest-dev/pytest-plus/compare/v0.8.0...v0.8.1">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.9.4 to 0.9.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.9.5</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Recognize all symbols named <code>TYPE_CHECKING</code> for <code>in_type_checking_block</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15719">#15719</a>)</li> <li>[<code>flake8-comprehensions</code>] Handle builtins at top of file correctly for <code>unnecessary-dict-comprehension-for-iterable</code> (<code>C420</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15837">#15837</a>)</li> <li>[<code>flake8-logging</code>] <code>.exception()</code> and <code>exc_info=</code> outside exception handlers (<code>LOG004</code>, <code>LOG014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15799">#15799</a>)</li> <li>[<code>flake8-pyi</code>] Fix incorrect behaviour of <code>custom-typevar-return-type</code> preview-mode autofix if <code>typing</code> was already imported (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15853">#15853</a>)</li> <li>[<code>flake8-pyi</code>] Fix more complex cases (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15821">#15821</a>)</li> <li>[<code>flake8-pyi</code>] Make <code>PYI019</code> autofixable for <code>.py</code> files in preview mode as well as stubs (<a href="https://redirect.github.com/astral-sh/ruff/pull/15889">#15889</a>)</li> <li>[<code>flake8-pyi</code>] Remove type parameter correctly when it is the last (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15854">#15854</a>)</li> <li>[<code>pylint</code>] Fix missing parens in unsafe fix for <code>unnecessary-dunder-call</code> (<code>PLC2801</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15762">#15762</a>)</li> <li>[<code>pyupgrade</code>] Better messages and diagnostic range (<code>UP015</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15872">#15872</a>)</li> <li>[<code>pyupgrade</code>] Rename private type parameters in PEP 695 generics (<code>UP049</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15862">#15862</a>)</li> <li>[<code>refurb</code>] Also report non-name expressions (<code>FURB169</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15905">#15905</a>)</li> <li>[<code>refurb</code>] Mark fix as unsafe if there are comments (<code>FURB171</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15832">#15832</a>)</li> <li>[<code>ruff</code>] Classes with mixed type variable style (<code>RUF053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15841">#15841</a>)</li> <li>[<code>airflow</code>] <code>BashOperator</code> has been moved to <code>airflow.providers.standard.operators.bash.BashOperator</code> (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15922">#15922</a>)</li> <li>[<code>flake8-pyi</code>] Add autofix for unused-private-type-var (<code>PYI018</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15999">#15999</a>)</li> <li>[<code>flake8-pyi</code>] Significantly improve accuracy of <code>PYI019</code> if preview mode is enabled (<a href="https://redirect.github.com/astral-sh/ruff/pull/15888">#15888</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Preserve triple quotes and prefixes for strings (<a href="https://redirect.github.com/astral-sh/ruff/pull/15818">#15818</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip when <code>TypeError</code> present from too many (kw)args for <code>C410</code>,<code>C411</code>, and <code>C418</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15838">#15838</a>)</li> <li>[<code>flake8-pyi</code>] Rename <code>PYI019</code> and improve its diagnostic message (<a href="https://redirect.github.com/astral-sh/ruff/pull/15885">#15885</a>)</li> <li>[<code>pep8-naming</code>] Ignore <code>@override</code> methods (<code>N803</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15954">#15954</a>)</li> <li>[<code>pyupgrade</code>] Reuse replacement logic from <code>UP046</code> and <code>UP047</code> to preserve more comments (<code>UP040</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15840">#15840</a>)</li> <li>[<code>ruff</code>] Analyze deferred annotations before enforcing <code>mutable-(data)class-default</code> and <code>function-call-in-dataclass-default-argument</code> (<code>RUF008</code>,<code>RUF009</code>,<code>RUF012</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15921">#15921</a>)</li> <li>[<code>pycodestyle</code>] Exempt <code>sys.path += ...</code> calls (<code>E402</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15980">#15980</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Config error only when <code>flake8-import-conventions</code> alias conflicts with <code>isort.required-imports</code> bound name (<a href="https://redirect.github.com/astral-sh/ruff/pull/15918">#15918</a>)</li> <li>Workaround Even Better TOML crash related to <code>allOf</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15992">#15992</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Unnecessary <code>list</code> comprehension (rewrite as a <code>set</code> comprehension) (<code>C403</code>) - Handle extraneous parentheses around list comprehension (<a href="https://redirect.github.com/astral-sh/ruff/pull/15877">#15877</a>)</li> <li>[<code>flake8-comprehensions</code>] Handle trailing comma in fixes for <code>unnecessary-generator-list/set</code> (<code>C400</code>,<code>C401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15929">#15929</a>)</li> <li>[<code>flake8-pyi</code>] Fix several correctness issues with <code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15851">#15851</a>)</li> <li>[<code>pep8-naming</code>] Consider any number of leading underscore for <code>N801</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15988">#15988</a>)</li> <li>[<code>pyflakes</code>] Visit forward annotations in <code>TypeAliasType</code> as types (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15829">#15829</a>)</li> <li>[<code>pylint</code>] Correct min/max auto-fix and suggestion for (<code>PL1730</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15930">#15930</a>)</li> <li>[<code>refurb</code>] Handle unparenthesized tuples correctly (<code>FURB122</code>, <code>FURB142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15953">#15953</a>)</li> <li>[<code>refurb</code>] Avoid <code>None | None</code> as well as better detection and fix (<code>FURB168</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15779">#15779</a>)</li> </ul> <h3>Documentation</h3> <!-- 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.9.5</h2> <h3>Preview features</h3> <ul> <li>Recognize all symbols named <code>TYPE_CHECKING</code> for <code>in_type_checking_block</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15719">#15719</a>)</li> <li>[<code>flake8-comprehensions</code>] Handle builtins at top of file correctly for <code>unnecessary-dict-comprehension-for-iterable</code> (<code>C420</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15837">#15837</a>)</li> <li>[<code>flake8-logging</code>] <code>.exception()</code> and <code>exc_info=</code> outside exception handlers (<code>LOG004</code>, <code>LOG014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15799">#15799</a>)</li> <li>[<code>flake8-pyi</code>] Fix incorrect behaviour of <code>custom-typevar-return-type</code> preview-mode autofix if <code>typing</code> was already imported (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15853">#15853</a>)</li> <li>[<code>flake8-pyi</code>] Fix more complex cases (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15821">#15821</a>)</li> <li>[<code>flake8-pyi</code>] Make <code>PYI019</code> autofixable for <code>.py</code> files in preview mode as well as stubs (<a href="https://redirect.github.com/astral-sh/ruff/pull/15889">#15889</a>)</li> <li>[<code>flake8-pyi</code>] Remove type parameter correctly when it is the last (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15854">#15854</a>)</li> <li>[<code>pylint</code>] Fix missing parens in unsafe fix for <code>unnecessary-dunder-call</code> (<code>PLC2801</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15762">#15762</a>)</li> <li>[<code>pyupgrade</code>] Better messages and diagnostic range (<code>UP015</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15872">#15872</a>)</li> <li>[<code>pyupgrade</code>] Rename private type parameters in PEP 695 generics (<code>UP049</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15862">#15862</a>)</li> <li>[<code>refurb</code>] Also report non-name expressions (<code>FURB169</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15905">#15905</a>)</li> <li>[<code>refurb</code>] Mark fix as unsafe if there are comments (<code>FURB171</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15832">#15832</a>)</li> <li>[<code>ruff</code>] Classes with mixed type variable style (<code>RUF053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15841">#15841</a>)</li> <li>[<code>airflow</code>] <code>BashOperator</code> has been moved to <code>airflow.providers.standard.operators.bash.BashOperator</code> (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15922">#15922</a>)</li> <li>[<code>flake8-pyi</code>] Add autofix for unused-private-type-var (<code>PYI018</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15999">#15999</a>)</li> <li>[<code>flake8-pyi</code>] Significantly improve accuracy of <code>PYI019</code> if preview mode is enabled (<a href="https://redirect.github.com/astral-sh/ruff/pull/15888">#15888</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Preserve triple quotes and prefixes for strings (<a href="https://redirect.github.com/astral-sh/ruff/pull/15818">#15818</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip when <code>TypeError</code> present from too many (kw)args for <code>C410</code>,<code>C411</code>, and <code>C418</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15838">#15838</a>)</li> <li>[<code>flake8-pyi</code>] Rename <code>PYI019</code> and improve its diagnostic message (<a href="https://redirect.github.com/astral-sh/ruff/pull/15885">#15885</a>)</li> <li>[<code>pep8-naming</code>] Ignore <code>@override</code> methods (<code>N803</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15954">#15954</a>)</li> <li>[<code>pyupgrade</code>] Reuse replacement logic from <code>UP046</code> and <code>UP047</code> to preserve more comments (<code>UP040</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15840">#15840</a>)</li> <li>[<code>ruff</code>] Analyze deferred annotations before enforcing <code>mutable-(data)class-default</code> and <code>function-call-in-dataclass-default-argument</code> (<code>RUF008</code>,<code>RUF009</code>,<code>RUF012</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15921">#15921</a>)</li> <li>[<code>pycodestyle</code>] Exempt <code>sys.path += ...</code> calls (<code>E402</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15980">#15980</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Config error only when <code>flake8-import-conventions</code> alias conflicts with <code>isort.required-imports</code> bound name (<a href="https://redirect.github.com/astral-sh/ruff/pull/15918">#15918</a>)</li> <li>Workaround Even Better TOML crash related to <code>allOf</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15992">#15992</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Unnecessary <code>list</code> comprehension (rewrite as a <code>set</code> comprehension) (<code>C403</code>) - Handle extraneous parentheses around list comprehension (<a href="https://redirect.github.com/astral-sh/ruff/pull/15877">#15877</a>)</li> <li>[<code>flake8-comprehensions</code>] Handle trailing comma in fixes for <code>unnecessary-generator-list/set</code> (<code>C400</code>,<code>C401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15929">#15929</a>)</li> <li>[<code>flake8-pyi</code>] Fix several correctness issues with <code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15851">#15851</a>)</li> <li>[<code>pep8-naming</code>] Consider any number of leading underscore for <code>N801</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15988">#15988</a>)</li> <li>[<code>pyflakes</code>] Visit forward annotations in <code>TypeAliasType</code> as types (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15829">#15829</a>)</li> <li>[<code>pylint</code>] Correct min/max auto-fix and suggestion for (<code>PL1730</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15930">#15930</a>)</li> <li>[<code>refurb</code>] Handle unparenthesized tuples correctly (<code>FURB122</code>, <code>FURB142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15953">#15953</a>)</li> <li>[<code>refurb</code>] Avoid <code>None | None</code> as well as better detection and fix (<code>FURB168</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15779">#15779</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add deprecation warning for <code>ruff-lsp</code> related settings (<a href="https://redirect.github.com/astral-sh/ruff/pull/15850">#15850</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/10d3e64ccdf69d90c3252a15b3408a4238427792"><code>10d3e64</code></a> Bump version to 0.9.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/16002">#16002</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/84ceddcbd96b454ac6ee5f77641bf84251b97e19"><code>84ceddc</code></a> [<code>ruff</code>] Classes with mixed type variable style (<code>RUF053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15841">#15841</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ba2f0e998d09342dc9b1ad23864508eafc3dfb67"><code>ba2f0e9</code></a> [flake8-pyi] Add autofix for unused-private-type-var (PYI018) (<a href="https://redirect.github.com/astral-sh/ruff/issues/15999">#15999</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/18b497a913e19a10a752c618c9791bcb19da2c96"><code>18b497a</code></a> [red-knot] Fixup a couple of nits in the <code>red_knot_test</code> README (<a href="https://redirect.github.com/astral-sh/ruff/issues/15996">#15996</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7cac0da44db2f008c41b67c1dce36ce417336873"><code>7cac0da</code></a> Workaround Even Better TOML crash related to <code>allOf</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/15992">#15992</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b66cc94f9b21e806cd43f297a022c334f173486f"><code>b66cc94</code></a> Add deprecation warning for <code>ruff-lsp</code> related settings (<a href="https://redirect.github.com/astral-sh/ruff/issues/15850">#15850</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e345307260569be55a5a6c512b2bfb1cca7f2f7a"><code>e345307</code></a> [red-knot] Fix diagnostic range for non-iterable unpacking assignments (<a href="https://redirect.github.com/astral-sh/ruff/issues/15994">#15994</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5588c75d65e8edcedcead24eec192f4a3a8acba8"><code>5588c75</code></a> [red-knot] Fix relative imports in <code>src.root</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/15990">#15990</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9d2105b863e4043504e941fe77a533caadc3c3f7"><code>9d2105b</code></a> add instance variable examples to RUF012 (<a href="https://redirect.github.com/astral-sh/ruff/issues/15982">#15982</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8fcac0ff365607d497cf94a2a0a4b53cc9d6f39d"><code>8fcac0f</code></a> Recognize all symbols named <code>TYPE_CHECKING</code> for <code>in_type_checking_block</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/15">#15</a>...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.9.4...0.9.5">compare view</a></li> </ul> </details> <br /> Updates `ansible-compat` from 25.1.1 to 25.1.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ansible/ansible-compat/releases">ansible-compat's releases</a>.</em></p> <blockquote> <h2>v25.1.2</h2> <h2>Bugfixes</h2> <ul> <li>Avoid get_cache_dir errors with read only virtualenvs (<a href="https://redirect.github.com/ansible/ansible-compat/issues/457">#457</a>) <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a></li> <li>Simplify module presence testing (<a href="https://redirect.github.com/ansible/ansible-compat/issues/460">#460</a>) <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a></li> <li>Fix grammatical error in collection path info message (<a href="https://redirect.github.com/ansible/ansible-compat/issues/456">#456</a>) <a href="https://github.com/bluikko"><code>@bluikko</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ansible/ansible-compat/commit/e980c9e7db49012c398a3cc41d0776f9e40b0744"><code>e980c9e</code></a> Avoid get_cache_dir errors with read only virtualenvs (<a href="https://redirect.github.com/ansible/ansible-compat/issues/457">#457</a>)</li> <li><a href="https://github.com/ansible/ansible-compat/commit/02624c7e57bd1c3019ccf3d2febb73d450a55fe7"><code>02624c7</code></a> Reduce number of cases when we test RPM building (<a href="https://redirect.github.com/ansible/ansible-compat/issues/463">#463</a>)</li> <li><a href="https://github.com/ansible/ansible-compat/commit/1112c757cfe0169e26fdd2a4aa0027a943b46fee"><code>1112c75</code></a> chore: pre-commit autoupdate (<a href="https://redirect.github.com/ansible/ansible-compat/issues/462">#462</a>)</li> <li><a href="https://github.com/ansible/ansible-compat/commit/0fc561663cb3d4dec3163b9241afe420b1e84372"><code>0fc5616</code></a> Update docs tools (<a href="https://redirect.github.com/ansible/ansible-compat/issues/461">#461</a>)</li> <li><a href="https://github.com/ansible/ansible-compat/commit/cab79c94cff5e0963bb2cc8062a7b8601bed0a92"><code>cab79c9</code></a> Simplify module presence testing (<a href="https://redirect.github.com/ansible/ansible-compat/issues/460">#460</a>)</li> <li><a href="https://github.com/ansible/ansible-compat/commit/edc4d3f08c66ce60109eccb4324c0fbd84e0ee90"><code>edc4d3f</code></a> Minor test fixes (<a href="https://redirect.github.com/ansible/ansible-compat/issues/459">#459</a>)</li> <li><a href="https://github.com/ansible/ansible-compat/commit/a61d946af8cdc07daad89ebf0ee2e6b837c6d12a"><code>a61d946</code></a> Bump the dependencies group in /.config with 8 updates (<a href="https://redirect.github.com/ansible/ansible-compat/issues/458">#458</a>)</li> <li><a href="https://github.com/ansible/ansible-compat/commit/b4b2fb905c09b4c39b92db2fbb20d5bc21caa198"><code>b4b2fb9</code></a> Fix grammatical error in collection path info message (<a href="https://redirect.github.com/ansible/ansible-compat/issues/456">#456</a>)</li> <li>See full diff in <a href="https://github.com/ansible/ansible-compat/compare/v25.1.1...v25.1.2">compare view</a></li> </ul> </details> <br /> Updates `beautifulsoup4` from 4.12.3 to 4.13.3 Updates `coverage` from 7.6.10 to 7.6.11 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst">coverage's changelog</a>.</em></p> <blockquote> <h2>Version 7.6.11 — 2025-02-08</h2> <ul> <li> <p>Fix: a memory leak in CTracer has been fixed. The details are in <code>issue 1924</code>_ and <code>pytest-dev 676</code>_. This should reduce the memory footprint for everyone even if it hadn't caused a problem before.</p> </li> <li> <p>We now ship a py3-none-any.whl wheel file. Thanks, <code>Russell Keith-Magee <pull 1914_></code>_.</p> </li> </ul> <p>.. _pull 1914: <a href="https://redirect.github.com/nedbat/coveragepy/pull/1914">nedbat/coveragepy#1914</a> .. _issue 1924: <a href="https://redirect.github.com/nedbat/coveragepy/issues/1924">nedbat/coveragepy#1924</a> .. _pytest-dev 676: <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/676">pytest-dev/pytest-cov#676</a></p> <p>.. _changes_7-6-10:</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nedbat/coveragepy/commit/a20898d2d48b2fb7ff30d3e63eb33de8e8948fe1"><code>a20898d</code></a> docs: sample HTML for 7.6.11</li> <li><a href="https://github.com/nedbat/coveragepy/commit/938d519ba264ac67cdfcca8a436fe15a68318dc6"><code>938d519</code></a> docs: prep for 7.6.11</li> <li><a href="https://github.com/nedbat/coveragepy/commit/27ee4ffc3b6486bc7b52dc5b18466e05fca8616e"><code>27ee4ff</code></a> test: free-threading builds were failing the old leak test <a href="https://redirect.github.com/nedbat/coveragepy/issues/1924">#1924</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/f473b87e4116cceacdef1666a75feb4ba3cce0f3"><code>f473b87</code></a> test: it could be useful to disable branch coverage in this helper</li> <li><a href="https://github.com/nedbat/coveragepy/commit/f85d9b7676a480c88d938c1e63a1dbebea45e21d"><code>f85d9b7</code></a> fix: prevent code objects from leaking <a href="https://redirect.github.com/nedbat/coveragepy/issues/1924">#1924</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/ae8d3b9981bac68f903c63c9e432ef5e30b4865b"><code>ae8d3b9</code></a> chore: make upgrade</li> <li><a href="https://github.com/nedbat/coveragepy/commit/156981f20730a2f4abd5a4efcc8cf1cad1d6a811"><code>156981f</code></a> build: zizmor can't tell this is safe</li> <li><a href="https://github.com/nedbat/coveragepy/commit/66030210bf7438d17830687aafa4504eb6e845db"><code>6603021</code></a> chore: bump the action-dependencies group with 6 updates (<a href="https://redirect.github.com/nedbat/coveragepy/issues/1922">#1922</a>)</li> <li><a href="https://github.com/nedbat/coveragepy/commit/d6a1e5b6ea5bc03d0bf085fbac285b7e4a56d8a6"><code>d6a1e5b</code></a> test: run the pytracer first so .tox is left with a c extension for ad-hoc use</li> <li><a href="https://github.com/nedbat/coveragepy/commit/cd2db93276e680aca70bd36806847e82f76e2fa3"><code>cd2db93</code></a> docs: a reminder about when RESUME applies</li> <li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/7.6.10...7.6.11">compare view</a></li> </ul> </details> <br /> Updates `identify` from 2.6.6 to 2.6.7 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pre-commit/identify/commit/157ee8efe3a7be5fab92f23396663cf99d4185de"><code>157ee8e</code></a> v2.6.7</li> <li><a href="https://github.com/pre-commit/identify/commit/76cf7163721a5cb32544776a77bd5d7483ca057a"><code>76cf716</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/identify/issues/503">#503</a> from mheiges/uv-interpreter</li> <li><a href="https://github.com/pre-commit/identify/commit/8130ef98fab826d31e35a65451ec7795bf6ba375"><code>8130ef9</code></a> add uv to interpreters list</li> <li><a href="https://github.com/pre-commit/identify/commit/e09b6899e652358e1fc13ac303e9c9f5f5cfc231"><code>e09b689</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/identify/issues/501">#501</a> from dinoshauer/patch-1</li> <li><a href="https://github.com/pre-commit/identify/commit/5a2b68b54ae2db7efe6093e93a1911762c2bf791"><code>5a2b68b</code></a> add <code>.templ</code> extension</li> <li><a href="https://github.com/pre-commit/identify/commit/4db44f007218ce0b1a2d4b91c0f7ad4cdc60ba13"><code>4db44f0</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/identify/issues/504">#504</a> from pre-commit/all-repos_autofix_all-repos-sed</li> <li><a href="https://github.com/pre-commit/identify/commit/82ab282ad58f1a0110ef8a467f48051efdb06898"><code>82ab282</code></a> upgrade asottile/workflows</li> <li><a href="https://github.com/pre-commit/identify/commit/96281e4bdbe64825574f15bf4aa790579bc58808"><code>96281e4</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/identify/issues/502">#502</a> from pre-commit/pre-commit-ci-update-config</li> <li><a href="https://github.com/pre-commit/identify/commit/94c5fb14a3e767e9ed09b1f6db3ac145b1389306"><code>94c5fb1</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li>See full diff in <a href="https://github.com/pre-commit/identify/compare/v2.6.6...v2.6.7">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.6.1 to 9.6.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.6.3</h2> <ul> <li>Fixed rendering of arrow heads in Mermaid.js class diagrams</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7960">#7960</a>: Tags plugin crashes on numeric metadata titles</li> </ul> <h2>mkdocs-material-9.6.2</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7955">#7955</a>: Excessively long words don't break on narrow screens</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7947">#7947</a>: Scope setting interferes with outdated version banner</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p> <blockquote> <p>mkdocs-material-9.6.3 (2025-02-07)</p> <ul> <li>Fixed rendering of arrow heads in Mermaid.js class diagrams</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7960">#7960</a>: Tags plugin crashes on numeric metadata titles</li> </ul> <p>mkdocs-material-9.6.2 (2025-02-03)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7955">#7955</a>: Excessively long words don't break on narrow screens</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7947">#7947</a>: Scope setting interferes with outdated version banner</li> </ul> <p>mkdocs-material-9.6.1 (2025-01-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7943">#7943</a>: Tags plugin crashing due to merge error</li> </ul> <p>mkdocs-material-9.6.0 (2025-01-31)</p> <ul> <li>Added meta plugin</li> <li>Rewrite of the tags plugin</li> <li>Added support for allow lists in tags plugin</li> <li>Added support for and custom sorting in tags plugin</li> <li>Added support for related links in blog plugin</li> <li>Added support for custom index pages in blog plugin</li> <li>Added support for navigation subtitles</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7924">#7924</a>: Anchors might require two clicks when using instant navigation</li> </ul> <p>mkdocs-material-9.5.50 (2025-01-18)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7913">#7913</a>: Social plugin renders attribute lists in page title</li> </ul> <p>mkdocs-material-9.5.49+insiders-4.53.15 (2025-01-15)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7896">#7896</a>: Scoped tags listings not rendering in subsections</li> </ul> <p>mkdocs-material-9.5.49 (2024-12-16)</p> <ul> <li>Adjusted title color in dark mode for all supported Mermaid.js diagrams</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7803">#7803</a>: Privacy plugin crashes on generated files</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7781">#7781</a>: Mermaid.js flow chart title not visible in dark mode</li> </ul> <p>mkdocs-material-9.5.48 (2024-12-08)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7774">#7774</a>: Disabling social cards doesn't work</li> </ul> <p>mkdocs-material-9.5.47 (2024-12-01)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7750">#7750</a>: Numeric tags break search</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7748">#7748</a>: Blog plugin breaks when using future drafts (9.5.45 regression)</li> </ul> <p>mkdocs-material-9.5.46 (2024-11-25)</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/99ef0b9e906dc6f17f8db56d05b5c871b981e05f"><code>99ef0b9</code></a> Prepare 9.6.3 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/aaabbfe99eb05f2ff2bd311352e56fe4e8a24336"><code>aaabbfe</code></a> Reverting group plugin fix</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/d4203f65bb59c902251f48bbfe7681e2afecb60e"><code>d4203f6</code></a> Fixed group plugin crashing on ENV vars for enabled setting</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/871e26c8b47b78f4735b16176f281538a54495a6"><code>871e26c</code></a> Documentation (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7975">#7975</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a2dc66d289262b8adcb1281bfd9a41438ce4b48d"><code>a2dc66d</code></a> Fixed typos</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/bffafccc7247c0bb0aa88898c67b81efb7be6601"><code>bffafcc</code></a> Documentation (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7971">#7971</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/3ec684c0fef87a42943f81c16c4a7ea9e12fc46e"><code>3ec684c</code></a> Added distribution files</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a1816aedcb9365f5632b19d48db1c9b5f0f3958c"><code>a1816ae</code></a> Fixed rendering of arrow heads in Mermaid.js class diagrams</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/4861c7d40575b39447522af3530d4f7e49a60c8a"><code>4861c7d</code></a> Fixed tags plugin crashing on numeric title</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0a9868606c0d59e468546bb01e9a37e0328a0960"><code>0a98686</code></a> Fix embedded mermaid css to fix class diagram arrow heads</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.6.1...9.6.3">compare view</a></li> </ul> </details> <br /> Updates `mkdocstrings` from 0.27.0 to 0.28.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/mkdocstrings/releases">mkdocstrings's releases</a>.</em></p> <blockquote> <h2>0.28.0</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.28.0">0.28.0</a> - 2025-02-03</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.27.0...0.28.0">Compare with 0.27.0</a><!-- raw HTML omitted --></p> <h3>Breaking Changes</h3> <p>Although the following changes are "breaking" in terms of public API, we didn't find any public use of these classes and methods on GitHub.</p> <ul> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(parser)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(md)</code>: <em>Positional parameter was moved</em></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(config)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(handlers)</code>: <em>Parameter kind was changed</em>: <code>positional or keyword</code> -> <code>keyword-only</code></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(autorefs)</code>: <em>Parameter kind was changed</em>: <code>positional or keyword</code> -> <code>keyword-only</code></li> <li><code>mkdocstrings.extension.MkdocstringsExtension.__init__(config)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.extension.MkdocstringsExtension.__init__(handlers)</code>: <em>Positional parameter was moved</em></li> <li><code>mkdocstrings.extension.MkdocstringsExtension.__init__(autorefs)</code>: <em>Positional parameter was moved</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(config)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(theme)</code>: <em>Parameter was added as required</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(default)</code>: <em>Parameter was added as required</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(inventory_project)</code>: <em>Parameter was added as required</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(tool_config)</code>: <em>Parameter was added as required</em></li> </ul> <p>Similarly, the following parameters were renamed, but the methods are only called from our own code, using positional arguments.</p> <ul> <li><code>mkdocstrings.handlers.base.BaseHandler.collect(config)</code>: <em>Parameter was renamed <code>options</code></em></li> <li><code>mkdocstrings.handlers.base.BaseHandler.render(config)</code>: <em>Parameter was renamed <code>options</code></em></li> </ul> <p>Finally, the following method was removed, but this is again taken into account in our own code:</p> <ul> <li><code>mkdocstrings.handlers.base.BaseHandler.get_anchors</code>: <em>Public object was removed</em></li> </ul> <p>For these reasons, and because we're still in v0, we do not bump to v1 yet. See following deprecations.</p> <h3>Deprecations</h3> <p><em>mkdocstrings</em> 0.28 will start emitting these deprecations warnings:</p> <blockquote> <p>The <code>handler</code> argument is deprecated. The handler name must be specified as a class attribute.</p> </blockquote> <p>Previously, the <code>get_handler</code> function would pass a <code>handler</code> (name) argument to the handler constructor. This name must now be set on the handler's class directly.</p> <pre lang="python"><code>class MyHandler: name = "myhandler" </code></pre> <blockquote> <p>The <code>domain</code> attribute must be specified as a class attribute.</p> </blockquote> <p>The <code>domain</code> class attribute on handlers is now mandatory and cannot be an empty string.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md">mkdocstrings's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.28.0">0.28.0</a> - 2025-02-03</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.27.0...0.28.0">Compare with 0.27.0</a><!-- raw HTML omitted --></p> <h3>Breaking Changes</h3> <p>Although the following changes are "breaking" in terms of public API, we didn't find any public use of these classes and methods on GitHub.</p> <ul> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(parser)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(md)</code>: <em>Positional parameter was moved</em></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(config)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(handlers)</code>: <em>Parameter kind was changed</em>: <code>positional or keyword</code> -> <code>keyword-only</code></li> <li><code>mkdocstrings.extension.AutoDocProcessor.__init__(autorefs)</code>: <em>Parameter kind was changed</em>: <code>positional or keyword</code> -> <code>keyword-only</code></li> <li><code>mkdocstrings.extension.MkdocstringsExtension.__init__(config)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.extension.MkdocstringsExtension.__init__(handlers)</code>: <em>Positional parameter was moved</em></li> <li><code>mkdocstrings.extension.MkdocstringsExtension.__init__(autorefs)</code>: <em>Positional parameter was moved</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(config)</code>: <em>Parameter was removed</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(theme)</code>: <em>Parameter was added as required</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(default)</code>: <em>Parameter was added as required</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(inventory_project)</code>: <em>Parameter was added as required</em></li> <li><code>mkdocstrings.handlers.base.Handlers.__init__(tool_config)</code>: <em>Parameter was added as required</em></li> </ul> <p>Similarly, the following parameters were renamed, but the methods are only called from our own code, using positional arguments.</p> <ul> <li><code>mkdocstrings.handlers.base.BaseHandler.collect(config)</code>: <em>Parameter was renamed <code>options</code></em></li> <li><code>mkdocstrings.handlers.base.BaseHandler.render(config)</code>: <em>Parameter was renamed <code>options</code></em></li> </ul> <p>Finally, the following method was removed, but this is again taken into account in our own code:</p> <ul> <li><code>mkdocstrings.handlers.base.BaseHandler.get_anchors</code>: <em>Public object was removed</em></li> </ul> <p>For these reasons, and because we're still in v0, we do not bump to v1 yet. See following deprecations.</p> <h3>Deprecations</h3> <p><em>mkdocstrings</em> 0.28 will start emitting these deprecations warnings:</p> <blockquote> <p>The <code>handler</code> argument is deprecated. The handler name must be specified as a class attribute.</p> </blockquote> <p>Previously, the <code>get_handler</code> function would pass a <code>handler</code> (name) argument to the handler constructor. This name must now be set on the handler's class directly.</p> <pre lang="python"><code>class MyHandler: name = "myhandler" </code></pre> <blockquote> <p>The <code>domain</code> attribute must be specified as a class attribute.</p> </blockquote> <p>The <code>domain</code> class attribute on handlers is now mandatory and cannot be an empty string.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/6ef141222d0b5ad47ced9049472243cf5887ec0e"><code>6ef1412</code></a> chore: Prepare release 0.28.0</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/936275e9b740ea122a484a686fcebc3424ec757a"><code>936275e</code></a> Merge branch 'main' of github.com:mkdocstrings/mkdocstrings</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/3cf7d51704378adc50d4ea50080aacae39e0e731"><code>3cf7d51</code></a> fix: Update handlers in JSON schema to be an object instead of an array</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/f3ecf5868c33944b344a31a2423952d7f4eb1952"><code>f3ecf58</code></a> chore: Ignore autorefs fallback deprecation warning</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/9618e17a66cd6bf3cdf4445dddde97c1680039a0"><code>9618e17</code></a> docs: Mention mkdocs-api-autonav in recipe</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/52ea2f216b6481c625c2ee15333cb64ec386b370"><code>52ea2f2</code></a> ci: Upgrade dev-deps to prevent warnings in tests</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/8c476ee0b82c09a5b20d7a773ecaf4be17b9e4d1"><code>8c476ee</code></a> refactor: Pass <code>config_file_path</code> to <code>get_handler</code> if it expects it</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/053ef23ca1d02a3ff47832947d71ce664a2756cd"><code>053ef23</code></a> Merge branch 'main' of github.com:mkdocstrings/mkdocstrings</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/48625a2d37c90653ac275031dc8a3cf1c607408b"><code>48625a2</code></a> chore: Fix inventory loading error log message</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/060e437485fa5026d70c941a17df4049ebbb904e"><code>060e437</code></a> docs: Fix link to arithmatex docs in Material for MkDocs</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.27.0...0.28.0">compare view</a></li> </ul> </details> <br /> Updates `mkdocstrings-python` from 1.13.0 to 1.14.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/python/releases">mkdocstrings-python's releases</a>.</em></p> <blockquote> <h2>1.14.6</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.6">1.14.6</a> - 2025-02-07</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.5...1.14.6">Compare with 1.14.5</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Catch alias resolution errors when getting aliases for an identifier (<a href="https://github.com/mkdocstrings/python/commit/0aaa260139afe2e3ab85d62224c90a389df64978">0aaa260</a> by Timothée Mazzucotelli). <a href="https://github.com/mkdocstrings/griffe/discussions/358">Issue-358</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Improve translations for Simplified Chinese and Japanese (<a href="https://github.com/mkdocstrings/python/commit/753a0df8f91f1cf42fb7e56b7fdd312b2bd652ab">753a0df</a> by Zhikang Yan). <a href="https://redirect.github.com/mkdocstrings/python/pull/244">PR-244</a></li> </ul> <h2>1.14.5</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.5">1.14.5</a> - 2025-02-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.4...1.14.5">Compare with 1.14.4</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Remove type from property docstring summary in summary sections (<a href="https://github.com/mkdocstrings/python/commit/15f2cd48b79a1f062086a47ea0c6bc52d89786d8">15f2cd4</a> by Uchechukwu Orji). <a href="https://redirect.github.com/mkdocstrings/python/pull/242">PR-242</a></li> </ul> <h2>1.14.4</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.4">1.14.4</a> - 2025-02-04</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.3...1.14.4">Compare with 1.14.3</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Deactivate Pydantic validation on Python 3.9 is <code>eval-type-backport</code> is not available (for modern typing syntax support) (<a href="https://github.com/mkdocstrings/python/commit/0de0e5e57f8f22e039b0d19aad6341ce7ab3da9f">0de0e5e</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/241">Issue-241</a></li> </ul> <h2>1.14.3</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.3">1.14.3</a> - 2025-02-04</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.2...1.14.3">Compare with 1.14.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Let dataclass implement <code>__init__</code> method, set extra fields in <code>get_options</code> (<a href="https://github.com/mkdocstrings/python/commit/477b9e447ef9717c6edcb14bd4c53f9cacc555b8">477b9e4</a> by Timothée Mazzucotelli).</li> </ul> <h2>1.14.2</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.2">1.14.2</a> - 2025-02-03</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.1...1.14.2">Compare with 1.14.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Deactivate Pydantic logic if v1 is installed instead of v2 (<a href="https://github.com/mkdocstrings/python/commit/c5ecd702b04417fa3d862806d608ea627b2e8ed9">c5ecd70</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/240">Issue-240</a></li> </ul> <h2>1.14.1</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md">mkdocstrings-python's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.6">1.14.6</a> - 2025-02-07</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.5...1.14.6">Compare with 1.14.5</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Catch alias resolution errors when getting aliases for an identifier (<a href="https://github.com/mkdocstrings/python/commit/0aaa260139afe2e3ab85d62224c90a389df64978">0aaa260</a> by Timothée Mazzucotelli). <a href="https://github.com/mkdocstrings/griffe/discussions/358">Issue-358</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Improve translations for Simplified Chinese and Japanese (<a href="https://github.com/mkdocstrings/python/commit/753a0df8f91f1cf42fb7e56b7fdd312b2bd652ab">753a0df</a> by Zhikang Yan). <a href="https://redirect.github.com/mkdocstrings/python/pull/244">PR-244</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.5">1.14.5</a> - 2025-02-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.4...1.14.5">Compare with 1.14.4</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Remove type from property docstring summary in summary sections (<a href="https://github.com/mkdocstrings/python/commit/15f2cd48b79a1f062086a47ea0c6bc52d89786d8">15f2cd4</a> by Uchechukwu Orji). <a href="https://redirect.github.com/mkdocstrings/python/pull/242">PR-242</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.4">1.14.4</a> - 2025-02-04</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.3...1.14.4">Compare with 1.14.3</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Deactivate Pydantic validation on Python 3.9 is <code>eval-type-backport</code> is not available (for modern typing syntax support) (<a href="https://github.com/mkdocstrings/python/commit/0de0e5e57f8f22e039b0d19aad6341ce7ab3da9f">0de0e5e</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/241">Issue-241</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.3">1.14.3</a> - 2025-02-04</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.2...1.14.3">Compare with 1.14.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Let dataclass implement <code>__init__</code> method, set extra fields in <code>get_options</code> (<a href="https://github.com/mkdocstrings/python/commit/477b9e447ef9717c6edcb14bd4c53f9cacc555b8">477b9e4</a> by Timothée Mazzucotelli).</li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.2">1.14.2</a> - 2025-02-03</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.1...1.14.2">Compare with 1.14.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Deactivate Pydantic logic if v1 is installed instead of v2 (<a href="https://github.com/mkdocstrings/python/commit/c5ecd702b04417fa3d862806d608ea627b2e8ed9">c5ecd70</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/240">Issue-240</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.14.1">1.14.1</a> - 2025-02-03</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.14.0...1.14.1">Compare with 1.14.0</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/python/commit/6c1617225d8c1f42de0c0b12848d4ecc88290ddb"><code>6c16172</code></a> chore: Prepare release 1.14.6</li> <li><a href="https://github.com/mkdocstrings/python/commit/753a0df8f91f1cf42fb7e56b7fdd312b2bd652ab"><code>753a0df</code></a> refactor: Improve translations for Simplified Chinese and Japanese</li> <li><a href="https://github.com/mkdocstrings/python/commit/0aaa260139afe2e3ab85d62224c90a389df64978"><code>0aaa260</code></a> fix: Catch alias resolution errors when getting aliases for an identifier</li> <li><a href="https://github.com/mkdocstrings/python/commit/9751b536c0ed9ad3f60b89b2d8cba36089ef486d"><code>9751b53</code></a> chore: Prepare release 1.14.5</li> <li><a href="https://github.com/mkdocstrings/python/commit/15f2cd48b79a1f062086a47ea0c6bc52d89786d8"><code>15f2cd4</code></a> fix: Remove type from property docstring summary in summary sections</li> <li><a href="https://github.com/mkdocstrings/python/commit/0ca64be892f9a470cb8502e3c3d7fd5329cac68c"><code>0ca64be</code></a> chore: Prepare release 1.14.4</li> <li><a href="https://github.com/mkdocstrings/python/commit/0de0e5e57f8f22e039b0d19aad6341ce7ab3da9f"><code>0de0e5e</code></a> fix: Deactivate Pydantic validation on Python 3.9 is <code>eval-type-backport</code> is ...</li> <li><a href="https://github.com/mkdocstrings/python/commit/e74ecbf15a495183c1f78eb2257a262721fb502d"><code>e74ecbf</code></a> chore: Prepare release 1.14.3</li> <li><a href="https://github.com/mkdocstrings/python/commit/477b9e447ef9717c6edcb14bd4c53f9cacc555b8"><code>477b9e4</code></a> fix: Let dataclass implement <code>__init__</code> method, set extra fields in `get_opti...</li> <li><a href="https://github.com/mkdocstrings/python/commit/40067f79f53d5918619580fd07866463a55f56d2"><code>40067f7</code></a> chore: Prepare release 1.14.2</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/python/compare/1.13.0...1.14.6">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> Co-authored-by: abhikdps <[email protected]>
- Loading branch information