Skip to content

Commit

Permalink
⬆️🪝 Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.6 (#523)
Browse files Browse the repository at this point in the history
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

<details>
<summary>astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)</summary>

###
[`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

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43Mi41IiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicHJlLWNvbW1pdCJdfQ==-->

---------

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 <[email protected]>
  • Loading branch information
renovate[bot] and burgholzer authored Jan 5, 2025
1 parent 370e8a1 commit 4b0474d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion test/python/test_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 4b0474d

Please sign in to comment.