Skip to content

Commit

Permalink
chore(deps-py): bump the dev group with 3 updates (#533)
Browse files Browse the repository at this point in the history
Bumps the dev group with 3 updates:
[ruff](https://github.com/astral-sh/ruff),
[mypy](https://github.com/python/mypy) and
[hypothesis](https://github.com/HypothesisWorks/hypothesis).

Updates `ruff` from 0.5.5 to 0.5.7
<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.5.7</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Account for list and set
comprehensions in <code>unnecessary-literal-within-tuple-call</code>
(<code>C409</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12657">#12657</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for
<code>future-annotations-in-stub</code> (<code>PYI044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12676">#12676</a>)</li>
<li>[<code>flake8-return</code>] Avoid syntax error when auto-fixing
<code>RET505</code> with mixed indentation (space and tabs) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12740">#12740</a>)</li>
<li>[<code>pydoclint</code>] Add <code>docstring-missing-yields</code>
(<code>DOC402</code>) and <code>docstring-extraneous-yields</code>
(<code>DOC403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12538">#12538</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> if docstring
begins with &quot;Return&quot;, &quot;Returns&quot;, &quot;Yield&quot;,
or &quot;Yields&quot; (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12675">#12675</a>)</li>
<li>[<code>pydoclint</code>] Deduplicate collected exceptions after
traversing function bodies (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12642">#12642</a>)</li>
<li>[<code>pydoclint</code>] Ignore <code>DOC</code> errors for stub
functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12651">#12651</a>)</li>
<li>[<code>pydoclint</code>] Teach rules to understand reraised
exceptions as being explicitly raised (<code>DOC501</code>,
<code>DOC502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12639">#12639</a>)</li>
<li>[<code>ruff</code>] Implement
<code>incorrectly-parenthesized-tuple-in-subscript</code>
(<code>RUF031</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12480">#12480</a>)</li>
<li>[<code>ruff</code>] Mark <code>RUF023</code> fix as unsafe if
<code>__slots__</code> is not a set and the binding is used elsewhere
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12692">#12692</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>refurb</code>] Add autofix for <code>implicit-cwd</code>
(<code>FURB177</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12708">#12708</a>)</li>
<li>[<code>ruff</code>] Add autofix for
<code>zip-instead-of-pairwise</code> (<code>RUF007</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12663">#12663</a>)</li>
<li>[<code>tryceratops</code>] Add <code>BaseException</code> to
<code>raise-vanilla-class</code> rule (<code>TRY002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12620">#12620</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Ignore non-file workspace URL; Ruff will display a warning
notification in this case (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12725">#12725</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Fix cache invalidation for nested <code>pyproject.toml</code> files
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12727">#12727</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-async</code>] Fix false positives with multiple
<code>async with</code> items (<code>ASYNC100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12643">#12643</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid false-positives for list
concatenations in SQL construction (<code>S608</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12720">#12720</a>)</li>
<li>[<code>flake8-bugbear</code>] Treat <code>return</code> as
equivalent to <code>break</code> (<code>B909</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12646">#12646</a>)</li>
<li>[<code>flake8-comprehensions</code>] Set comprehensions not a
violation for <code>sum</code> in
<code>unnecessary-comprehension-in-call</code> (<code>C419</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12691">#12691</a>)</li>
<li>[<code>flake8-simplify</code>] Parenthesize conditions based on
precedence when merging if arms (<code>SIM114</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12737">#12737</a>)</li>
<li>[<code>pydoclint</code>] Try both 'Raises' section styles when
convention is unspecified (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12649">#12649</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
<li><a
href="https://github.com/DavideRagazzon"><code>@​DavideRagazzon</code></a></li>
<li><a
href="https://github.com/InSyncWithFoo"><code>@​InSyncWithFoo</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a
href="https://github.com/augustelalande"><code>@​augustelalande</code></a></li>
<li><a
href="https://github.com/bluetech"><code>@​bluetech</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
<li><a href="https://github.com/cclauss"><code>@​cclauss</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.5.7</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-comprehensions</code>] Account for list and set
comprehensions in <code>unnecessary-literal-within-tuple-call</code>
(<code>C409</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12657">#12657</a>)</li>
<li>[<code>flake8-pyi</code>] Add autofix for
<code>future-annotations-in-stub</code> (<code>PYI044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12676">#12676</a>)</li>
<li>[<code>flake8-return</code>] Avoid syntax error when auto-fixing
<code>RET505</code> with mixed indentation (space and tabs) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12740">#12740</a>)</li>
<li>[<code>pydoclint</code>] Add <code>docstring-missing-yields</code>
(<code>DOC402</code>) and <code>docstring-extraneous-yields</code>
(<code>DOC403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12538">#12538</a>)</li>
<li>[<code>pydoclint</code>] Avoid <code>DOC201</code> if docstring
begins with &quot;Return&quot;, &quot;Returns&quot;, &quot;Yield&quot;,
or &quot;Yields&quot; (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12675">#12675</a>)</li>
<li>[<code>pydoclint</code>] Deduplicate collected exceptions after
traversing function bodies (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12642">#12642</a>)</li>
<li>[<code>pydoclint</code>] Ignore <code>DOC</code> errors for stub
functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12651">#12651</a>)</li>
<li>[<code>pydoclint</code>] Teach rules to understand reraised
exceptions as being explicitly raised (<code>DOC501</code>,
<code>DOC502</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12639">#12639</a>)</li>
<li>[<code>ruff</code>] Implement
<code>incorrectly-parenthesized-tuple-in-subscript</code>
(<code>RUF031</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12480">#12480</a>)</li>
<li>[<code>ruff</code>] Mark <code>RUF023</code> fix as unsafe if
<code>__slots__</code> is not a set and the binding is used elsewhere
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12692">#12692</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>refurb</code>] Add autofix for <code>implicit-cwd</code>
(<code>FURB177</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12708">#12708</a>)</li>
<li>[<code>ruff</code>] Add autofix for
<code>zip-instead-of-pairwise</code> (<code>RUF007</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12663">#12663</a>)</li>
<li>[<code>tryceratops</code>] Add <code>BaseException</code> to
<code>raise-vanilla-class</code> rule (<code>TRY002</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12620">#12620</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Ignore non-file workspace URL; Ruff will display a warning
notification in this case (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12725">#12725</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Fix cache invalidation for nested <code>pyproject.toml</code> files
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12727">#12727</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-async</code>] Fix false positives with multiple
<code>async with</code> items (<code>ASYNC100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12643">#12643</a>)</li>
<li>[<code>flake8-bandit</code>] Avoid false-positives for list
concatenations in SQL construction (<code>S608</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12720">#12720</a>)</li>
<li>[<code>flake8-bugbear</code>] Treat <code>return</code> as
equivalent to <code>break</code> (<code>B909</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12646">#12646</a>)</li>
<li>[<code>flake8-comprehensions</code>] Set comprehensions not a
violation for <code>sum</code> in
<code>unnecessary-comprehension-in-call</code> (<code>C419</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12691">#12691</a>)</li>
<li>[<code>flake8-simplify</code>] Parenthesize conditions based on
precedence when merging if arms (<code>SIM114</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12737">#12737</a>)</li>
<li>[<code>pydoclint</code>] Try both 'Raises' section styles when
convention is unspecified (<code>DOC501</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12649">#12649</a>)</li>
</ul>
<h2>0.5.6</h2>
<p>Ruff 0.5.6 automatically enables linting and formatting of notebooks
in <em>preview mode</em>.
You can opt-out of this behavior by adding <code>*.ipynb</code> to the
<code>extend-exclude</code> setting.</p>
<pre lang="toml"><code>[tool.ruff]
extend-exclude = [&quot;*.ipynb&quot;]
</code></pre>
<h3>Preview features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/221ea662e0e19384f774c99e93a9fd08b6f14029"><code>221ea66</code></a>
Bump version to 0.5.7 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12756">#12756</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/d28c5afd14a9ae01f960bf812298065d3450a91f"><code>d28c5af</code></a>
[red-knot] Remove mentions of Ruff from the CLI help (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12752">#12752</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f1de08c2a04b5cd78abba40c8d12e6ed71afc420"><code>f1de08c</code></a>
[red-knot] Merge the semantic and module-resolver crates (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12751">#12751</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/33e9a6a54e04d78f91a4787218a8eca1e5d196b8"><code>33e9a6a</code></a>
SIM110: <code>any()</code> is ~3x slower than the code it replaces (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12746">#12746</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f577e03021e1e165a50a4a6f116229299018990e"><code>f577e03</code></a>
[ruff] Ignore empty tuples for
`incorrectly-parenthesized-tuple-in-subscript ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/f53733525c3fe31eca4d9ba6c3a9367c1e88de59"><code>f537335</code></a>
Remove all <code>useEffect</code> usages (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12659">#12659</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2daa9143342237aced17e407909278ffc5cf3fed"><code>2daa914</code></a>
Gracefully handle errors in CLI (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12747">#12747</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6d9205e346bfd58ab1811761dc3bad9c0cbed56f"><code>6d9205e</code></a>
[<code>ruff_linter</code>] - Use LibCST in
<code>adjust_indentation</code> for mixed whitespace (<a
href="https://redirect.github.com/astral-sh/ruff/issues/1">#1</a>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/df7345e118f456e43b04aefbbaaa253c16b62329"><code>df7345e</code></a>
Exit with an error if there are check failures (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12735">#12735</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/dc6aafecc2b0eb7dc44347051bb1077f3dd79c0d"><code>dc6aafe</code></a>
Setup tracing and document tracing usage (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12730">#12730</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.5...0.5.7">compare
view</a></li>
</ul>
</details>
<br />

Updates `mypy` from 1.11.0 to 1.11.1
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/570b90a7a368f04c64f60af339d0ac1808c49c15"><code>570b90a</code></a>
Bump version to 1.11</li>
<li><a
href="https://github.com/python/mypy/commit/b3a102ef31f63a8a8ba32c8dbe160ddef3c43054"><code>b3a102e</code></a>
Fix <code>RawExpressionType.accept</code> crash with
<code>--cache-fine-grained</code> (<a
href="https://redirect.github.com/python/mypy/issues/17588">#17588</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/aec04c74488d46a81a95ed3553b8e953a6ec59a7"><code>aec04c7</code></a>
Fix PEP 604 isinstance caching (<a
href="https://redirect.github.com/python/mypy/issues/17563">#17563</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/cb44e4d8f18b9bc874f1076b33eec7ad67de165c"><code>cb44e4d</code></a>
Fix <code>typing.TypeAliasType</code> being undefined on python &lt;
3.12 (<a
href="https://redirect.github.com/python/mypy/issues/17558">#17558</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/6cf9180e1411dab2ee91b57374f696d391eb24f4"><code>6cf9180</code></a>
Fix types.GenericAlias lookup crash (<a
href="https://redirect.github.com/python/mypy/issues/17543">#17543</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/64c1ebf7cff51c13b1771174e3bb6bce9fe0d5dc"><code>64c1ebf</code></a>
Bump version to 1.11.1+dev</li>
<li>See full diff in <a
href="https://github.com/python/mypy/compare/v1.11...v1.11.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `hypothesis` from 6.108.5 to 6.111.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/b38fe7a6e475008ff4341de2ae984aac8e5e9f43"><code>b38fe7a</code></a>
Bump hypothesis-python version to 6.111.0 and update changelog</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/3990fbc9aca98e77620cc7e82ce7e9669cfa1f6f"><code>3990fbc</code></a>
Merge pull request <a
href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4083">#4083</a>
from Zac-HD/observe-backends</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/33446b8507fedcc36afd34817434a596f3479c7d"><code>33446b8</code></a>
Backends can write info msgs too</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/81400a485818bd84b5ae67da753a2f97f23b2898"><code>81400a4</code></a>
Observability from backends</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/d8d92a438b8b437050d97d7f4fe585b741d19804"><code>d8d92a4</code></a>
skip array tests on crosshair</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/f1efaf203677fca3ee6de57e66946d572500ce59"><code>f1efaf2</code></a>
Bump hypothesis-python version to 6.110.2 and update changelog</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/e8b9d9199d83f0371ba3bcbb8bfac6d30ba508e1"><code>e8b9d91</code></a>
Merge pull request <a
href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4081">#4081</a>
from HypothesisWorks/issue-4080</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/c31e070fb6f506a7f23d7bac653ca901a1e867d5"><code>c31e070</code></a>
Skip default-settings test under non-default settings</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/8eab5cfa773361fa8a87d6be37773642cbbd54cf"><code>8eab5cf</code></a>
use latest crosshair</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/998539bd1ff5d729562165d8c919e0f13651f0a7"><code>998539b</code></a>
typo</li>
<li>Additional commits viewable in <a
href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.108.5...hypothesis-python-6.111.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 Aug 12, 2024
1 parent fb2e884 commit 1dfe827
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 56 deletions.
106 changes: 53 additions & 53 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ hugr = "^0.5.0"
maturin = "^1.7.0"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
ruff = "^0.5.5"
mypy = "^1.11.0"
hypothesis = "^6.108.5"
ruff = "^0.5.7"
mypy = "^1.11.1"
hypothesis = "^6.111.0"
graphviz = "^0.20"
pre-commit = "^3.8.0"

Expand Down

0 comments on commit 1dfe827

Please sign in to comment.