Skip to content

Commit 629a844

Browse files
committed
run linter
1 parent f2379f6 commit 629a844

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bloqade/qasm2/dialects/inline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def lower(
4747
for qasm_stmt in region.blocks[0].stmts:
4848
qasm_stmt.detach()
4949
state.current_frame.push(qasm_stmt)
50-
50+
5151
state.current_frame.defs.update(defs)
5252

5353
for block in region.blocks:

src/bloqade/qasm2/parse/lowering.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ def run(
5757
else:
5858
e.args = (hint,)
5959
raise e
60-
60+
6161
if return_defs:
6262
defs = frame.defs.copy()
63-
63+
6464
region = frame.curr_region
6565

6666
if compactify:
6767
from kirin.rewrite import Walk, CFGCompactify
6868

6969
Walk(CFGCompactify()).rewrite(region)
70-
70+
7171
if return_defs:
7272
# use this to update the current frame for python
7373
# lowering for inline qasm.

0 commit comments

Comments
 (0)