From 4b0474da2b2f1223338164a5e8f215da6d51ffe0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 14:38:21 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=AA=9D=20Update=20pre-c?= =?UTF-8?q?ommit=20hook=20astral-sh/ruff-pre-commit=20to=20v0.8.6=20(#523)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/ruff-pre-commit](https://redirect.github.com/astral-sh/ruff-pre-commit) | repository | patch | `v0.8.3` -> `v0.8.6` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit) ### [`v0.8.6`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.8.6) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.8.5...v0.8.6) See: https://github.com/astral-sh/ruff/releases/tag/0.8.6 ### [`v0.8.5`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.8.5) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.8.4...v0.8.5) See: https://github.com/astral-sh/ruff/releases/tag/0.8.5 ### [`v0.8.4`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.8.4) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.4) See: https://github.com/astral-sh/ruff/releases/tag/0.8.4
--- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cda-tum/mqt-qcec). --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Burgholzer --- .pre-commit-config.yaml | 2 +- test/python/test_verify.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc5de3e7..d9c52eff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: # Python linting and formatting using ruff - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.3 + rev: v0.8.6 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/test/python/test_verify.py b/test/python/test_verify.py index 38fb1ff2..01c90f80 100644 --- a/test/python/test_verify.py +++ b/test/python/test_verify.py @@ -91,5 +91,5 @@ def test_cpp_exception_propagation_internal() -> None: config.execution.run_zx_checker = False config.application.simulation_scheme = qcec.ApplicationScheme.lookahead - with pytest.raises(ValueError, match="Lookahead application scheme can only be used for matrices."): + with pytest.raises(ValueError, match=r"Lookahead application scheme can only be used for matrices."): qcec.verify(qc, qc, configuration=config)