Skip to content

Commit a42c4b7

Browse files
committed
fix: resolve final pylint warnings for clean run
1 parent 5d73974 commit a42c4b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

qualtran/surface_code/flasq/measurement_depth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def _cbloq_measurement_depth(
201201
else: # pragma: no cover
202202
# This case should ideally not be reached with valid CompositeBloqs
203203
logger.warning(
204-
"Unexpected node type %s found in binst_graph for %s. " "Assigning 0 depth.",
204+
"Unexpected node type %s found in binst_graph for %s. Assigning 0 depth.",
205205
type(node),
206206
cbloq,
207207
)

qualtran/surface_code/flasq/span_counting_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def test_mul_wrong_type_raises(self):
184184
"""Multiplying by a non-numeric type should raise TypeError (L105-107)."""
185185
gs = GateSpan(connect_span=1, compute_span=1)
186186
with pytest.raises(TypeError, match="Can only multiply"):
187-
gs * "bad"
187+
_ = gs * "bad"
188188

189189
def test_mul_by_sympy_expr(self):
190190
"""Multiplying by a sympy expression should work."""

0 commit comments

Comments
 (0)