Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): bump the development-dependencies group with 2 updat…
…es (#269) Bumps the development-dependencies group with 2 updates: [coverage](https://github.com/nedbat/coveragepy) and [ruff](https://github.com/astral-sh/ruff). Updates `coverage` from 7.6.4 to 7.6.7 <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.7 — 2024-11-15</h2> <ul> <li>fix: ugh, the other assert from 7.6.5 can also be encountered in the wild, so it's been restored to a conditional. Sorry for the churn.</li> </ul> <p>.. _changes_7-6-6:</p> <h2>Version 7.6.6 — 2024-11-15</h2> <ul> <li>One of the new asserts from 7.6.5 caused problems in real projects, as reported in <code>issue 1891</code>_. The assert has been removed.</li> </ul> <p>.. _issue 1891: <a href="https://redirect.github.com/nedbat/coveragepy/issues/1891">nedbat/coveragepy#1891</a></p> <p>.. _changes_7-6-5:</p> <h2>Version 7.6.5 — 2024-11-14</h2> <ul> <li> <p>fix: fine-tuned the exact Python version (3.12.6) when exiting from <code>with</code> statements changed how they traced. This affected whether people saw the fix for <code>issue 1880</code>_.</p> </li> <li> <p>fix: isolate our code more from mocking in the os module that in rare cases can cause <code>bizarre behavior <pytest-cov-666_></code>_.</p> </li> <li> <p>refactor: some code unreachable code paths in parser.py were changed to asserts. If you encounter any of these, please let me know!</p> </li> </ul> <p>.. _pytest-cov-666: <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/666">pytest-dev/pytest-cov#666</a></p> <p>.. _changes_7-6-4:</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nedbat/coveragepy/commit/af89ebb81a99113bb663a64c494f4aed03c383cb"><code>af89ebb</code></a> docs: sample HTML for 7.6.7</li> <li><a href="https://github.com/nedbat/coveragepy/commit/c723de2d6ab806fd9cfc2762cd10c04d904a0870"><code>c723de2</code></a> docs: prep for 7.6.7</li> <li><a href="https://github.com/nedbat/coveragepy/commit/898e94a1ebb224924776f4d5e77497a40302727f"><code>898e94a</code></a> fix: another possible assert changed back to a conditional.</li> <li><a href="https://github.com/nedbat/coveragepy/commit/42961d6bd4c2e379539e8dd117407fd584357384"><code>42961d6</code></a> build: tweaks to release process</li> <li><a href="https://github.com/nedbat/coveragepy/commit/1a09d4aeaf7c50a7e8e164f575db901f046341ad"><code>1a09d4a</code></a> build: bump version</li> <li><a href="https://github.com/nedbat/coveragepy/commit/c26fc6ee2f4a40b603ef33fd1e03de55f843c2eb"><code>c26fc6e</code></a> docs: sample HTML for 7.6.6</li> <li><a href="https://github.com/nedbat/coveragepy/commit/79ad46919c72afbd996409b31d81ec6fa0a2828f"><code>79ad469</code></a> docs: prep for 7.6.6</li> <li><a href="https://github.com/nedbat/coveragepy/commit/98939c9199d9196bf55e0f6d02443dbdd46d1b85"><code>98939c9</code></a> fix: this assert is possible, remove it. <a href="https://redirect.github.com/nedbat/coveragepy/issues/1891">#1891</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/ad4a4ffaad8149133f57024f794a49d3c00baac7"><code>ad4a4ff</code></a> build: automate the 'final' version</li> <li><a href="https://github.com/nedbat/coveragepy/commit/e1502e679db440b1c2a76549d2de6ac1b1a25fa2"><code>e1502e6</code></a> build: bump version</li> <li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/7.6.4...7.6.7">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.7.3 to 0.7.4 <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.7.4</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-datetimez</code>] Detect usages of <code>datetime.max</code>/<code>datetime.min</code> (<code>DTZ901</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14288">#14288</a>)</li> <li>[<code>flake8-logging</code>] Implement <code>root-logger-calls</code> (<code>LOG015</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14302">#14302</a>)</li> <li>[<code>flake8-no-pep420</code>] Detect empty implicit namespace packages (<code>INP001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14236">#14236</a>)</li> <li>[<code>flake8-pyi</code>] Add "replace with <code>Self</code>" fix (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14238">#14238</a>)</li> <li>[<code>perflint</code>] Implement quick-fix for <code>manual-list-comprehension</code> (<code>PERF401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13919">#13919</a>)</li> <li>[<code>pylint</code>] Implement <code>shallow-copy-environ</code> (<code>W1507</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14241">#14241</a>)</li> <li>[<code>ruff</code>] Implement <code>none-not-at-end-of-union</code> (<code>RUF036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14314">#14314</a>)</li> <li>[<code>ruff</code>] Implementation <code>unsafe-markup-call</code> from <code>flake8-markupsafe</code> plugin (<code>RUF035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14224">#14224</a>)</li> <li>[<code>ruff</code>] Report problems for <code>attrs</code> dataclasses (<code>RUF008</code>, <code>RUF009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14327">#14327</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-boolean-trap</code>] Exclude dunder methods that define operators (<code>FBT001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14203">#14203</a>)</li> <li>[<code>flake8-pyi</code>] Add "replace with <code>Self</code>" fix (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14217">#14217</a>)</li> <li>[<code>flake8-pyi</code>] Always autofix <code>duplicate-union-members</code> (<code>PYI016</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14270">#14270</a>)</li> <li>[<code>flake8-pyi</code>] Improve autofix for nested and mixed type unions for <code>unnecessary-type-union</code> (<code>PYI055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14272">#14272</a>)</li> <li>[<code>flake8-pyi</code>] Mark fix as unsafe when type annotation contains comments for <code>duplicate-literal-member</code> (<code>PYI062</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14268">#14268</a>)</li> </ul> <h3>Server</h3> <ul> <li>Use the current working directory to resolve settings from <code>ruff.configuration</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14352">#14352</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid conflicts between <code>PLC014</code> (<code>useless-import-alias</code>) and <code>I002</code> (<code>missing-required-import</code>) by considering <code>lint.isort.required-imports</code> for <code>PLC014</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14287">#14287</a>)</li> <li>[<code>flake8-type-checking</code>] Skip quoting annotation if it becomes invalid syntax (<code>TCH001</code>)</li> <li>[<code>flake8-pyi</code>] Avoid using <code>typing.Self</code> in stub files pre-Python 3.11 (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14230">#14230</a>)</li> <li>[<code>flake8-pytest-style</code>] Flag <code>pytest.raises</code> call with keyword argument <code>expected_exception</code> (<code>PT011</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14298">#14298</a>)</li> <li>[<code>flake8-simplify</code>] Infer "unknown" truthiness for literal iterables whose items are all unpacks (<code>SIM222</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14263">#14263</a>)</li> <li>[<code>flake8-type-checking</code>] Fix false positives for <code>typing.Annotated</code> (<code>TCH001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14311">#14311</a>)</li> <li>[<code>pylint</code>] Allow <code>await</code> at the top-level scope of a notebook (<code>PLE1142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14225">#14225</a>)</li> <li>[<code>pylint</code>] Fix miscellaneous issues in <code>await-outside-async</code> detection (<code>PLE1142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14218">#14218</a>)</li> <li>[<code>pyupgrade</code>] Avoid applying PEP 646 rewrites in invalid contexts (<code>UP044</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14234">#14234</a>)</li> <li>[<code>pyupgrade</code>] Detect permutations in redundant open modes (<code>UP015</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14255">#14255</a>)</li> <li>[<code>refurb</code>] Avoid triggering <code>hardcoded-string-charset</code> for reordered sets (<code>FURB156</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14233">#14233</a>)</li> <li>[<code>refurb</code>] Further special cases added to <code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14216">#14216</a>)</li> <li>[<code>refurb</code>] Use <code>UserString</code> instead of non-existent <code>UserStr</code> (<code>FURB189</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14209">#14209</a>)</li> <li>[<code>ruff</code>] Avoid treating lowercase letters as <code># noqa</code> codes (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14229">#14229</a>)</li> <li>[<code>ruff</code>] Do not report when <code>Optional</code> has no type arguments (<code>RUF013</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14181">#14181</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add "Notebook behavior" section for <code>F704</code>, <code>PLE1142</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14266">#14266</a>)</li> <li>Document comment policy around fix safety (<a href="https://redirect.github.com/astral-sh/ruff/pull/14300">#14300</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.7.4</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-datetimez</code>] Detect usages of <code>datetime.max</code>/<code>datetime.min</code> (<code>DTZ901</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14288">#14288</a>)</li> <li>[<code>flake8-logging</code>] Implement <code>root-logger-calls</code> (<code>LOG015</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14302">#14302</a>)</li> <li>[<code>flake8-no-pep420</code>] Detect empty implicit namespace packages (<code>INP001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14236">#14236</a>)</li> <li>[<code>flake8-pyi</code>] Add "replace with <code>Self</code>" fix (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14238">#14238</a>)</li> <li>[<code>perflint</code>] Implement quick-fix for <code>manual-list-comprehension</code> (<code>PERF401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13919">#13919</a>)</li> <li>[<code>pylint</code>] Implement <code>shallow-copy-environ</code> (<code>W1507</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14241">#14241</a>)</li> <li>[<code>ruff</code>] Implement <code>none-not-at-end-of-union</code> (<code>RUF036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14314">#14314</a>)</li> <li>[<code>ruff</code>] Implementation <code>unsafe-markup-call</code> from <code>flake8-markupsafe</code> plugin (<code>RUF035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14224">#14224</a>)</li> <li>[<code>ruff</code>] Report problems for <code>attrs</code> dataclasses (<code>RUF008</code>, <code>RUF009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14327">#14327</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-boolean-trap</code>] Exclude dunder methods that define operators (<code>FBT001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14203">#14203</a>)</li> <li>[<code>flake8-pyi</code>] Add "replace with <code>Self</code>" fix (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14217">#14217</a>)</li> <li>[<code>flake8-pyi</code>] Always autofix <code>duplicate-union-members</code> (<code>PYI016</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14270">#14270</a>)</li> <li>[<code>flake8-pyi</code>] Improve autofix for nested and mixed type unions for <code>unnecessary-type-union</code> (<code>PYI055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14272">#14272</a>)</li> <li>[<code>flake8-pyi</code>] Mark fix as unsafe when type annotation contains comments for <code>duplicate-literal-member</code> (<code>PYI062</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14268">#14268</a>)</li> </ul> <h3>Server</h3> <ul> <li>Use the current working directory to resolve settings from <code>ruff.configuration</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14352">#14352</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid conflicts between <code>PLC014</code> (<code>useless-import-alias</code>) and <code>I002</code> (<code>missing-required-import</code>) by considering <code>lint.isort.required-imports</code> for <code>PLC014</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14287">#14287</a>)</li> <li>[<code>flake8-type-checking</code>] Skip quoting annotation if it becomes invalid syntax (<code>TCH001</code>)</li> <li>[<code>flake8-pyi</code>] Avoid using <code>typing.Self</code> in stub files pre-Python 3.11 (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14230">#14230</a>)</li> <li>[<code>flake8-pytest-style</code>] Flag <code>pytest.raises</code> call with keyword argument <code>expected_exception</code> (<code>PT011</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14298">#14298</a>)</li> <li>[<code>flake8-simplify</code>] Infer "unknown" truthiness for literal iterables whose items are all unpacks (<code>SIM222</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14263">#14263</a>)</li> <li>[<code>flake8-type-checking</code>] Fix false positives for <code>typing.Annotated</code> (<code>TCH001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14311">#14311</a>)</li> <li>[<code>pylint</code>] Allow <code>await</code> at the top-level scope of a notebook (<code>PLE1142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14225">#14225</a>)</li> <li>[<code>pylint</code>] Fix miscellaneous issues in <code>await-outside-async</code> detection (<code>PLE1142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14218">#14218</a>)</li> <li>[<code>pyupgrade</code>] Avoid applying PEP 646 rewrites in invalid contexts (<code>UP044</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14234">#14234</a>)</li> <li>[<code>pyupgrade</code>] Detect permutations in redundant open modes (<code>UP015</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14255">#14255</a>)</li> <li>[<code>refurb</code>] Avoid triggering <code>hardcoded-string-charset</code> for reordered sets (<code>FURB156</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14233">#14233</a>)</li> <li>[<code>refurb</code>] Further special cases added to <code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14216">#14216</a>)</li> <li>[<code>refurb</code>] Use <code>UserString</code> instead of non-existent <code>UserStr</code> (<code>FURB189</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14209">#14209</a>)</li> <li>[<code>ruff</code>] Avoid treating lowercase letters as <code># noqa</code> codes (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14229">#14229</a>)</li> <li>[<code>ruff</code>] Do not report when <code>Optional</code> has no type arguments (<code>RUF013</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14181">#14181</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add "Notebook behavior" section for <code>F704</code>, <code>PLE1142</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14266">#14266</a>)</li> <li>Document comment policy around fix safety (<a href="https://redirect.github.com/astral-sh/ruff/pull/14300">#14300</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/ed7b98cf9b5ec915bc196a2cab84d4f735d77693"><code>ed7b98c</code></a> Bump version to 0.7.4 (<a href="https://redirect.github.com/astral-sh/ruff/issues/14358">#14358</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6591775cd97db4216c3786d12f6f1b79dee26587"><code>6591775</code></a> [<code>flake8-type-checking</code>] Skip quoting annotation if it becomes invalid syntax...</li> <li><a href="https://github.com/astral-sh/ruff/commit/1f82731856eb0f199c8b11f8e06c32020a6a9738"><code>1f82731</code></a> Use CWD to resolve settings from <code>ruff.configuration</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14352">#14352</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/874da9c400e7163aae4cf6efc135ba1d370b37a5"><code>874da9c</code></a> [red-knot] Display raw characters for string literal (<a href="https://redirect.github.com/astral-sh/ruff/issues/14351">#14351</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/375cead202d69e04658c632d0ea886240aef0743"><code>375cead</code></a> Sync vendored typeshed stubs (<a href="https://redirect.github.com/astral-sh/ruff/issues/14350">#14350</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9ec690b8f8758e5fb958f8cc40e803eca315861f"><code>9ec690b</code></a> [red-knot] Add support for string annotations (<a href="https://redirect.github.com/astral-sh/ruff/issues/14151">#14151</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a48d779c4e0eb6d9e7bfa11a6226272e4d405bb8"><code>a48d779</code></a> [red-knot] function signature representation (<a href="https://redirect.github.com/astral-sh/ruff/issues/14304">#14304</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ba6c7f6897df6d8020c6b393d1d2f51963fee2b2"><code>ba6c7f6</code></a> [<code>pylint</code>] Remove check for dot in alias name in `useless-import-alias (PLC04...</li> <li><a href="https://github.com/astral-sh/ruff/commit/8095ff0e55beb55ddca8f853d04aa4154ef2cf93"><code>8095ff0</code></a> enforce required imports even with useless alias (<a href="https://redirect.github.com/astral-sh/ruff/issues/14287">#14287</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/24cd592a1d6d5ad8ec4e0cb0e836f94771d12afd"><code>24cd592</code></a> Avoid module lookup for known classes when possible (<a href="https://redirect.github.com/astral-sh/ruff/issues/14343">#14343</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.7.3...0.7.4">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