Skip to content

Commit 6303306

Browse files
committed
Add defaults to annotated doc strings
1 parent 48c65e9 commit 6303306

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/bloqade/qubit/_prelude.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ def run_pass(
2424
"run type inference and apply the inferred type to IR, default `False`"
2525
),
2626
] = False,
27-
fold: Annotated[bool, Doc("run folding passes")] = True,
27+
fold: Annotated[bool, Doc("run folding passes, default is `True`")] = True,
2828
aggressive: Annotated[
2929
bool, Doc("run aggressive folding passes if `fold=True`")
3030
] = False,
31-
no_raise: Annotated[bool, Doc("do not raise exception during analysis")] = True,
31+
no_raise: Annotated[
32+
bool, Doc("do not raise exception during analysis, default is `True`")
33+
] = True,
3234
) -> None:
3335
default_pass = Default(
3436
self,

0 commit comments

Comments
 (0)