Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 20, 2025
1 parent 48d1c83 commit 8b65e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibolab/_core/instruments/qblox/ast_.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 8b65e1b

Please sign in to comment.