Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-py): bump the dev group with 2 updates (#552)
Bumps the dev group with 2 updates: [ruff](https://github.com/astral-sh/ruff) and [hypothesis](https://github.com/HypothesisWorks/hypothesis). Updates `ruff` from 0.5.7 to 0.6.1 <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.6.1</h2> <h2>Release Notes</h2> <p>This is a hotfix release to address an issue with <code>ruff-pre-commit</code>. In v0.6, Ruff changed its behavior to lint and format Jupyter notebooks by default; however, due to an oversight, these files were still excluded by default if Ruff was run via pre-commit, leading to inconsistent behavior. This has <a href="https://redirect.github.com/astral-sh/ruff-pre-commit/pull/96">now been fixed</a>.</p> <h3>Preview features</h3> <ul> <li>[<code>fastapi</code>] Implement <code>fast-api-unused-path-parameter</code> (<code>FAST003</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12638">#12638</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pylint</code>] Rename <code>too-many-positional</code> to <code>too-many-positional-arguments</code> (<code>R0917</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12905">#12905</a>)</li> </ul> <h3>Server</h3> <ul> <li>Fix crash when applying "fix-all" code-action to notebook cells (<a href="https://redirect.github.com/astral-sh/ruff/pull/12929">#12929</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>[<code>flake8-naming</code>]: Respect import conventions (<code>N817</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12922">#12922</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/JonathanPlasse"><code>@JonathanPlasse</code></a></li> <li><a href="https://github.com/Matthieu-LAURENT39"><code>@Matthieu-LAURENT39</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> </ul> <h2>Install ruff 0.6.1</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <pre lang="sh"><code>powershell -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-installer.ps1 | iex" </code></pre> <h2>Download ruff 0.6.1</h2> <table> <thead> <tr> <th>File</th> <th>Platform</th> <th>Checksum</th> </tr> </thead> <tbody> <tr> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td> <td>Apple Silicon macOS</td> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td> <td>Intel macOS</td> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td> </tr> </tbody> </table> <!-- 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.6.1</h2> <p>This is a hotfix release to address an issue with <code>ruff-pre-commit</code>. In v0.6, Ruff changed its behavior to lint and format Jupyter notebooks by default; however, due to an oversight, these files were still excluded by default if Ruff was run via pre-commit, leading to inconsistent behavior. This has <a href="https://redirect.github.com/astral-sh/ruff-pre-commit/pull/96">now been fixed</a>.</p> <h3>Preview features</h3> <ul> <li>[<code>fastapi</code>] Implement <code>fast-api-unused-path-parameter</code> (<code>FAST003</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12638">#12638</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pylint</code>] Rename <code>too-many-positional</code> to <code>too-many-positional-arguments</code> (<code>R0917</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12905">#12905</a>)</li> </ul> <h3>Server</h3> <ul> <li>Fix crash when applying "fix-all" code-action to notebook cells (<a href="https://redirect.github.com/astral-sh/ruff/pull/12929">#12929</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>[<code>flake8-naming</code>]: Respect import conventions (<code>N817</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12922">#12922</a>)</li> </ul> <h2>0.6.0</h2> <p>Check out the <a href="https://astral.sh/blog/ruff-v0.6.0">blog post</a> for a migration guide and overview of the changes!</p> <h3>Breaking changes</h3> <p>See also, the "Remapped rules" section which may result in disabled rules.</p> <ul> <li>Lint and format Jupyter Notebook by default (<a href="https://redirect.github.com/astral-sh/ruff/pull/12878">#12878</a>).</li> <li>Detect imports in <code>src</code> layouts by default for <code>isort</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/12848">#12848</a>)</li> <li>The pytest rules <code>PT001</code> and <code>PT023</code> now default to omitting the decorator parentheses when there are no arguments (<a href="https://redirect.github.com/astral-sh/ruff/pull/12838">#12838</a>).</li> </ul> <h3>Deprecations</h3> <p>The following rules are now deprecated:</p> <ul> <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/unnecessary-dict-comprehension-for-iterable/"><code>unnecessary-dict-comprehension-for-iterable</code></a>: <code>RUF025</code> to <code>C420</code></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/499c0bd875c3f53c65f542a217b4d9a0962191c3"><code>499c0bd</code></a> Bump version to 0.6.1 (<a href="https://redirect.github.com/astral-sh/ruff/issues/12937">#12937</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4cb30b598f4247970f714021616583549d0b8b1e"><code>4cb30b5</code></a> <code>N817</code> docs: refer to the correct setting (<a href="https://redirect.github.com/astral-sh/ruff/issues/12935">#12935</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/aba0d83c1138ba2a787aa80495c136a057014c52"><code>aba0d83</code></a> [<code>flake8-naming</code>]: Respect import conventions (<code>N817</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/12922">#12922</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c319414e54d03b64335c75e2df58bb3a0cd25e7e"><code>c319414</code></a> Ignore blank line rules for docs formatting (<a href="https://redirect.github.com/astral-sh/ruff/issues/12934">#12934</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ef1f6d98a05526ba3c82dfb6d1004d85f322e0c8"><code>ef1f6d9</code></a> Fix description of where the contributor list comes from in instructions for ...</li> <li><a href="https://github.com/astral-sh/ruff/commit/b850b812de0a1f2cfdd8a132ad1f069a1da7ce87"><code>b850b81</code></a> Use cell source code instead of the concatenated one (<a href="https://redirect.github.com/astral-sh/ruff/issues/12929">#12929</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a87b27c0753b50653d658a533d19f7a3a9cc5ba6"><code>a87b27c</code></a> [red-knot] Add support for relative imports (<a href="https://redirect.github.com/astral-sh/ruff/issues/12910">#12910</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9b73532b112b5c2aa9f820bcfc1185d7af6ca02d"><code>9b73532</code></a> [<code>flake8-async</code>] Fix examples to use <code>async with</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/12924">#12924</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d8debb7a36bad602b543a299f5cdca5b4c29524f"><code>d8debb7</code></a> Simplify logic for <code>RUF027</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/12907">#12907</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/bd4a947b29564fdbe95a4ee6a188163cd2346eb7"><code>bd4a947</code></a> [red-knot] Add symbol and definition for parameters (<a href="https://redirect.github.com/astral-sh/ruff/issues/12862">#12862</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.5.7...0.6.1">compare view</a></li> </ul> </details> <br /> Updates `hypothesis` from 6.111.0 to 6.111.1 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/6c51f101954be27eba0d95ee0db07323763dd5b4"><code>6c51f10</code></a> Bump hypothesis-python version to 6.111.1 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/ee7cef4db5e4a11cc89433f870d5f261d262e9fe"><code>ee7cef4</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4086">#4086</a> from tybug/realign-shrinking</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c9451580902f8cd7a220079b51c3d8d9f40e4bf2"><code>c945158</code></a> avoid django datetime error</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c3b99450bd19d9ee5cc0e63a2ead81b9a18e913b"><code>c3b9945</code></a> realign ir trees by converting via buffer</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/25b36b9b4224db34f8621db9691b9568ef94d7d3"><code>25b36b9</code></a> Merge branch 'master' into realign-shrinking</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/cb8aa7ecd470bffeddd8d07f1cfa6262beef0901"><code>cb8aa7e</code></a> also track time in benchmark</li> <li>See full diff in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.111.0...hypothesis-python-6.111.1">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: Agustin Borgna <[email protected]>
- Loading branch information