Skip to content

Commit bf827d1

Browse files
committed
Fix linting errors
1 parent fbc0b9c commit bf827d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cqc/pythonLib.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ def K(self, notify=True, block=True):
21002100
"""
21012101
self._single_qubit_gate(CQC_CMD_K, notify, block)
21022102

2103-
def _build_and_pend_command(self, command, notify=False, block=False, subheader: Header=None, *subheader_values):
2103+
def _build_and_pend_command(self, command, notify=False, block=False, subheader: Header = None, *subheader_values):
21042104

21052105
# If we are inside a TP_MIX, then insert the CQC Type header before the command header
21062106
if self._cqc._inside_cqc_mix:
@@ -2118,8 +2118,7 @@ def _build_and_pend_command(self, command, notify=False, block=False, subheader:
21182118
if subheader is not None:
21192119
subheader.setVals(*subheader_values)
21202120
self._cqc._pend_header(subheader)
2121-
2122-
2121+
21232122
def _single_gate_rotation(self, command, step, notify, block):
21242123
"""
21252124
Perform a rotation on a qubit

0 commit comments

Comments
 (0)