Skip to content

Commit

Permalink
🎨 pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 6, 2025
1 parent b59bf6a commit c7d005d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqt/qudits/quantum_circuit/qasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def parse_ignore(line: str, rgxs: dict[str, re.Pattern[str]], warned: dict[str,
if match:
# certain operations we can just ignore and warn about
(op,) = match.groups()
if not warned.get(op, False):
if not warned.get(op):
# warnings.warn(f"Unsupported operation ignored: {op}", SyntaxWarning, stacklevel=2)
warned[op] = True
return True
Expand Down

0 comments on commit c7d005d

Please sign in to comment.