From a9eecfda4e3196062bdac191135f4b0b21b48b4a Mon Sep 17 00:00:00 2001 From: "Davide Gessa (dakk)" Date: Fri, 18 Oct 2024 09:15:24 +0200 Subject: [PATCH] fix typing, bump version --- qlasskit/__init__.py | 2 +- qlasskit/ast2ast/astrewriter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qlasskit/__init__.py b/qlasskit/__init__.py index 3a4b2ab..a7c7e80 100644 --- a/qlasskit/__init__.py +++ b/qlasskit/__init__.py @@ -13,7 +13,7 @@ # limitations under the License. # isort:skip_file -__version__ = "0.1.33" +__version__ = "0.1.34" from .qcircuit import QCircuit, SupportedFrameworks, SupportedFramework # noqa: F401 from .qlassfun import QlassF, qlassf, qlassfa # noqa: F401 diff --git a/qlasskit/ast2ast/astrewriter.py b/qlasskit/ast2ast/astrewriter.py index 3a376d8..05d1234 100644 --- a/qlasskit/ast2ast/astrewriter.py +++ b/qlasskit/ast2ast/astrewriter.py @@ -456,7 +456,7 @@ def iterif(arg_l): ast.Compare(left=arg_l[0], ops=[op], comparators=[l_it]) for l_it in arg_l[1:] ] - comp = ast.BoolOp(op=ast.And(), values=comps) + comp = ast.BoolOp(op=ast.And(), values=comps) # type: ignore return ast.IfExp(test=comp, body=arg_l[0], orelse=iterif(arg_l[1:])) return iterif(args)