diff --git a/src/qibolab/_core/instruments/qblox/__init__.py b/src/qibolab/_core/instruments/qblox/__init__.py index fdbca7fcc..e69de29bb 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 4b3016c04..2df0a2aa2 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(