From c2f6aef114c9d186a032fa0f8e2851d82bd2b6f7 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Thu, 20 Feb 2025 18:17:14 +0100 Subject: [PATCH] fix: Rebase leftover --- src/qibolab/_core/instruments/qblox/__init__.py | 1 - src/qibolab/_core/instruments/qblox/ast_.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/qibolab/_core/instruments/qblox/__init__.py b/src/qibolab/_core/instruments/qblox/__init__.py index fdbca7fcc9..e69de29bb2 100644 --- a/src/qibolab/_core/instruments/qblox/__init__.py +++ b/src/qibolab/_core/instruments/qblox/__init__.py @@ -1 +0,0 @@ -from . import ast_ diff --git a/src/qibolab/_core/instruments/qblox/ast_.py b/src/qibolab/_core/instruments/qblox/ast_.py index 4b3016c043..2df0a2aa20 100644 --- a/src/qibolab/_core/instruments/qblox/ast_.py +++ b/src/qibolab/_core/instruments/qblox/ast_.py @@ -68,7 +68,7 @@ def asm(self, key_width: Optional[int] = None) -> str: key = self.keyword() if key_width is None: key_width = len(key) - instr = f"{key:<{key_width+1}}" + instr = f"{key:<{key_width + 1}}" return (instr + ",".join([str(a) for a in self.args])).strip() @@ -680,7 +680,7 @@ def asm( instr_name_width = len(self.instruction.keyword()) if instr_width is None: instr_width = len(self.instruction.asm(instr_name_width)) - code = f"{label:<{label_width+2}}{self.instruction.asm(instr_name_width):<{instr_width+1}}" + code = f"{label:<{label_width + 2}}{self.instruction.asm(instr_name_width):<{instr_width + 1}}" if self.comment is None: return code comment = _format_comment(