Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️🪝 Update pre-commit hook crate-ci/typos to v1.28.0 #760

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading