Skip to content

Commit

Permalink
⬆️🪝 Update pre-commit hook crate-ci/typos to v1.28.0 (#760)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://redirect.github.com/crate-ci/typos) |
repository | minor | `v1.27.3` -> `v1.28.0` |

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>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.28.0`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.28.0)

[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.27.3...v1.28.0)

#### \[1.28.0] - 2024-11-25

##### Features

- Updated the dictionary with the [November
2024](https://redirect.github.com/crate-ci/typos/issues/1139) changes
- Add many new types and file extensions to the `--type-list`, including
ada, alire, bat, candid, carp, cml, devicetree, dita, dockercompose,
grpbuild, graphql, hare, lean, meson, prolog, raku, reasonml, rescript,
solidity, svelte, usd, v, wgsl

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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-core).

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

---------

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: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and pre-commit-ci[bot] authored Nov 26, 2024
1 parent 66a48ca commit 70efd12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ repos:

# Check for spelling
- repo: https://github.com/crate-ci/typos
rev: v1.27.3
rev: v1.28.0
hooks:
- id: typos

Expand Down
4 changes: 2 additions & 2 deletions src/ir/operations/SymbolicOperation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ SymbolicOperation::dumpOpenQASM([[maybe_unused]] std::ostream& of,
bool openQASM3) const {
if (openQASM3) {
throw QFRException(
"Printing OpenQASM 3.0 parametrized gates is not supported yet!");
"Printing OpenQASM 3.0 parameterized gates is not supported yet!");
}
throw QFRException("OpenQASM 2.0 doesn't support parametrized gates!");
throw QFRException("OpenQASM 2.0 doesn't support parameterized gates!");
}

StandardOperation SymbolicOperation::getInstantiatedOperation(
Expand Down
2 changes: 1 addition & 1 deletion test/ir/test_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ TEST_F(IO, UseQelib1Gate) {
EXPECT_EQ(op->size(), 9U);
}

TEST_F(IO, ParametrizedGateDefinition) {
TEST_F(IO, ParameterizedGateDefinition) {
*qc = qc::QuantumComputation::fromQASM(
"qreg q[1];"
"gate foo(theta, beta) q { rz(theta) q; rx(beta) q; }"
Expand Down

0 comments on commit 70efd12

Please sign in to comment.