Skip to content

Commit

Permalink
chore(deps-dev): Bump the development-dependencies group with 2 updat…
Browse files Browse the repository at this point in the history
…es (#350)

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.7 to 7.6.8
<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.8 — 2024-11-23</h2>
<ul>
<li>
<p>Fix: the LCOV report code assumed that a branch line that took no
branches
meant that the entire line was unexecuted. This isn't true in a few
cases:
the line might always raise an exception, or might have been optimized
away.
Fixes <code>issue 1896</code>_.</p>
</li>
<li>
<p>Fix: similarly, the HTML report will now explain that a line that
jumps to
none of its expected destinations must have always raised an exception.
Previously, it would say something nonsensical like, &quot;line 4 didn't
jump to
line 5 because line 4 was never true, and it didn't jump to line 7
because
line 4 was always true.&quot; This was also shown in <code>issue
1896</code>_.</p>
</li>
</ul>
<p>.. _issue 1896: <a
href="https://redirect.github.com/nedbat/coveragepy/issues/1896">nedbat/coveragepy#1896</a></p>
<p>.. _changes_7-6-7:</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/nedbat/coveragepy/commit/6134266c33233d4386daaf229a5536cac0bab6f9"><code>6134266</code></a>
docs: sample HTML for 7.6.8</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/041f9631de98855ffb2208febb939ca5291681e3"><code>041f963</code></a>
docs: prep for 7.6.8</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/7fe48b65457dd788d87b1cee02f5cd02816a78bc"><code>7fe48b6</code></a>
build: don't search generated report files</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/f2191445c4e532c76d700e36360f8bedcdd35805"><code>f219144</code></a>
docs: start changelog entries with capital letters</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/d1a916a2161a10c0fd345ce059f9d61f43e35428"><code>d1a916a</code></a>
fix: a line that branches nowhere must always raise an exception</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/2ace7a261901e164bf54606b80a2dd1b4e49a904"><code>2ace7a2</code></a>
fix: don't assume 'no branches' means 'not executed' <a
href="https://redirect.github.com/nedbat/coveragepy/issues/1896">#1896</a></li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/3ed59159400f95e5ab7da9498a1a5111caad5aba"><code>3ed5915</code></a>
style: all of ci should use underscores</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/0db86f2f84825395fa1f249a4bf83ca9da69a22e"><code>0db86f2</code></a>
build: automate updating readthedocs</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/2a895512ebf6cf7184de24bb24a0ba2c782d6aab"><code>2a89551</code></a>
chore: make upgrade (not sure why files became absolute)</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/ba9c157cf8c22debe31a4565db46a436551681e3"><code>ba9c157</code></a>
chore: make doc_upgrade</li>
<li>Additional commits viewable in <a
href="https://github.com/nedbat/coveragepy/compare/7.6.7...7.6.8">compare
view</a></li>
</ul>
</details>
<br />

Updates `ruff` from 0.7.4 to 0.8.0
<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.0</h2>
<h2>Release Notes</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.8.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<p>See also, the &quot;Remapped rules&quot; section which may result in
disabled rules.</p>
<ul>
<li>
<p><strong>Default to Python 3.9</strong></p>
<p>Ruff now defaults to Python 3.9 instead of 3.8 if no explicit Python
version is configured using <a
href="https://docs.astral.sh/ruff/settings/#target-version"><code>ruff.target-version</code></a>
or <a
href="https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#python-requires"><code>project.requires-python</code></a>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13896">#13896</a>)</p>
</li>
<li>
<p><strong>Changed location of <code>pydoclint</code>
diagnostics</strong></p>
<p><a
href="https://docs.astral.sh/ruff/rules/#pydoclint-doc"><code>pydoclint</code></a>
diagnostics now point to the first-line of the problematic docstring.
Previously, this was not the case.</p>
<p>If you've opted into these preview rules but have them suppressed
using
<a
href="https://docs.astral.sh/ruff/linter/#error-suppression"><code>noqa</code></a>
comments in
some places, this change may mean that you need to move the
<code>noqa</code> suppression
comments. Most users should be unaffected by this change.</p>
</li>
<li>
<p><strong>Use XDG (i.e. <code>~/.local/bin</code>) instead of the Cargo
home directory in the standalone installer</strong></p>
<p>Previously, Ruff's installer used <code>$CARGO_HOME</code> or
<code>~/.cargo/bin</code> for its target install directory. Now, Ruff
will be installed into <code>$XDG_BIN_HOME</code>,
<code>$XDG_DATA_HOME/../bin</code>, or <code>~/.local/bin</code> (in
that order).</p>
<p>This change is only relevant to users of the standalone Ruff
installer (using the shell or PowerShell script). If you installed Ruff
using uv or pip, you should be unaffected.</p>
</li>
<li>
<p><strong>Changes to the line width calculation</strong></p>
<p>Ruff now uses a new version of the <a
href="https://github.com/unicode-rs/unicode-width">unicode-width</a>
Rust crate to calculate the line width. In very rare cases, this may
lead to lines containing Unicode characters being reformatted, or being
considered too long when they were not before (<a
href="https://docs.astral.sh/ruff/rules/line-too-long/"><code>E501</code></a>).</p>
</li>
</ul>
<h3>Removed Rules</h3>
<p>The following deprecated rules have been removed:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-self/"><code>missing-type-self</code></a>
(<code>ANN101</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-cls/"><code>missing-type-cls</code></a>
(<code>ANN102</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/syntax-error/"><code>syntax-error</code></a>
(<code>E999</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-missing-fixture-name-underscore/"><code>pytest-missing-fixture-name-underscore</code></a>
(<code>PT004</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-incorrect-fixture-name-underscore/"><code>pytest-incorrect-fixture-name-underscore</code></a>
(<code>PT005</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/unpacked-list-comprehension/"><code>unpacked-list-comprehension</code></a>
(<code>UP027</code>)</li>
</ul>
<h3>Remapped rules</h3>
<p>The following rules have been remapped to new rule codes:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/#flake8-type-checking-tc"><code>flake8-type-checking</code></a>:
<code>TCH</code> to <code>TC</code></li>
</ul>
<h3>Stabilization</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.8.0</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.8.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<p>See also, the &quot;Remapped rules&quot; section which may result in
disabled rules.</p>
<ul>
<li>
<p><strong>Default to Python 3.9</strong></p>
<p>Ruff now defaults to Python 3.9 instead of 3.8 if no explicit Python
version is configured using <a
href="https://docs.astral.sh/ruff/settings/#target-version"><code>ruff.target-version</code></a>
or <a
href="https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#python-requires"><code>project.requires-python</code></a>
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13896">#13896</a>)</p>
</li>
<li>
<p><strong>Changed location of <code>pydoclint</code>
diagnostics</strong></p>
<p><a
href="https://docs.astral.sh/ruff/rules/#pydoclint-doc"><code>pydoclint</code></a>
diagnostics now point to the first-line of the problematic docstring.
Previously, this was not the case.</p>
<p>If you've opted into these preview rules but have them suppressed
using
<a
href="https://docs.astral.sh/ruff/linter/#error-suppression"><code>noqa</code></a>
comments in
some places, this change may mean that you need to move the
<code>noqa</code> suppression
comments. Most users should be unaffected by this change.</p>
</li>
<li>
<p><strong>Use XDG (i.e. <code>~/.local/bin</code>) instead of the Cargo
home directory in the standalone installer</strong></p>
<p>Previously, Ruff's installer used <code>$CARGO_HOME</code> or
<code>~/.cargo/bin</code> for its target install directory. Now, Ruff
will be installed into <code>$XDG_BIN_HOME</code>,
<code>$XDG_DATA_HOME/../bin</code>, or <code>~/.local/bin</code> (in
that order).</p>
<p>This change is only relevant to users of the standalone Ruff
installer (using the shell or PowerShell script). If you installed Ruff
using uv or pip, you should be unaffected.</p>
</li>
<li>
<p><strong>Changes to the line width calculation</strong></p>
<p>Ruff now uses a new version of the <a
href="https://github.com/unicode-rs/unicode-width">unicode-width</a>
Rust crate to calculate the line width. In very rare cases, this may
lead to lines containing Unicode characters being reformatted, or being
considered too long when they were not before (<a
href="https://docs.astral.sh/ruff/rules/line-too-long/"><code>E501</code></a>).</p>
</li>
</ul>
<h3>Removed Rules</h3>
<p>The following deprecated rules have been removed:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-self/"><code>missing-type-self</code></a>
(<code>ANN101</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-cls/"><code>missing-type-cls</code></a>
(<code>ANN102</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/syntax-error/"><code>syntax-error</code></a>
(<code>E999</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-missing-fixture-name-underscore/"><code>pytest-missing-fixture-name-underscore</code></a>
(<code>PT004</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-incorrect-fixture-name-underscore/"><code>pytest-incorrect-fixture-name-underscore</code></a>
(<code>PT005</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/unpacked-list-comprehension/"><code>unpacked-list-comprehension</code></a>
(<code>UP027</code>)</li>
</ul>
<h3>Remapped rules</h3>
<p>The following rules have been remapped to new rule codes:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/#flake8-type-checking-tc"><code>flake8-type-checking</code></a>:
<code>TCH</code> to <code>TC</code></li>
</ul>
<h3>Stabilization</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/a90e404c3f010446ab8c18b4793c78834eeb65b7"><code>a90e404</code></a>
[red-knot] PEP 695 type aliases (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14357">#14357</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8358ad8d251a8c72a679202b5d667bbcb24639c3"><code>8358ad8</code></a>
Ruff 0.8 release (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14486">#14486</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2b8b1ef1781fddc89ab67765d855879f28607dae"><code>2b8b1ef</code></a>
Improve docs for some pycodestyle rules (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14517">#14517</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2efa3fbb627cc6ebed71283195f59c4e2caddd9d"><code>2efa3fb</code></a>
[<code>flake8-import-conventions</code>] Syntax check aliases supplied
in configuration ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b9da4305e6ebbd42efa6735e564b77695e2c65cd"><code>b9da430</code></a>
doc(B024): <a
href="https://redirect.github.com/astral-sh/ruff/issues/14455">#14455</a>
add annotated but unassgined class variables (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14502">#14502</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/87043a2415339d1db5294b93cc51b735f170ac0c"><code>87043a2</code></a>
Limit type size assertion to 64bit (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14514">#14514</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f684b6fff4c13350a455d2d6e681c5422edd7d67"><code>f684b6f</code></a>
[red-knot] Fix: Infer type for typing.Union[..] tuple expression (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14510">#14510</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/47f39ed1a07d9dde4b7a70383f169db36f4aa74e"><code>47f39ed</code></a>
[red-knot] Meta data for <code>Type::Todo</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14500">#14500</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/aecdb8c144d7e21b71a47e75ea84bd25518f13da"><code>aecdb8c</code></a>
[red-knot] support <code>typing.Union</code> in type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14499">#14499</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3c52d2d1bd8042d98415f70ecc8d6402795756ef"><code>3c52d2d</code></a>
Improve the performance of the formatter instability check job (<a
href="https://redirect.github.com/astral-sh/ruff/issues/14471">#14471</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.7.4...0.8.0">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
dependabot[bot] authored Nov 25, 2024
1 parent f185988 commit e100292
Showing 1 changed file with 84 additions and 82 deletions.
Loading

0 comments on commit e100292

Please sign in to comment.