Skip to content

Commit 70efd12

Browse files
⬆️🪝 Update pre-commit hook crate-ci/typos to v1.28.0 (#760)
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>
1 parent 66a48ca commit 70efd12

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ repos:
109109

110110
# Check for spelling
111111
- repo: https://github.com/crate-ci/typos
112-
rev: v1.27.3
112+
rev: v1.28.0
113113
hooks:
114114
- id: typos
115115

src/ir/operations/SymbolicOperation.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ SymbolicOperation::dumpOpenQASM([[maybe_unused]] std::ostream& of,
308308
bool openQASM3) const {
309309
if (openQASM3) {
310310
throw QFRException(
311-
"Printing OpenQASM 3.0 parametrized gates is not supported yet!");
311+
"Printing OpenQASM 3.0 parameterized gates is not supported yet!");
312312
}
313-
throw QFRException("OpenQASM 2.0 doesn't support parametrized gates!");
313+
throw QFRException("OpenQASM 2.0 doesn't support parameterized gates!");
314314
}
315315

316316
StandardOperation SymbolicOperation::getInstantiatedOperation(

test/ir/test_io.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ TEST_F(IO, UseQelib1Gate) {
587587
EXPECT_EQ(op->size(), 9U);
588588
}
589589

590-
TEST_F(IO, ParametrizedGateDefinition) {
590+
TEST_F(IO, ParameterizedGateDefinition) {
591591
*qc = qc::QuantumComputation::fromQASM(
592592
"qreg q[1];"
593593
"gate foo(theta, beta) q { rz(theta) q; rx(beta) q; }"

0 commit comments

Comments
 (0)