Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
nealerickson-qtm committed Oct 4, 2023
1 parent 0b7a5dd commit 7336634
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_sharder.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
class TestSharder:
def test_should_op_create_shard(self) -> None:
expected_true: list[Op] = [
Op.create(OpType.Measure), # type: ignore # noqa: PGH003
Op.create(OpType.Reset), # type: ignore # noqa: PGH003
Op.create(OpType.CX), # type: ignore # noqa: PGH003
Op.create(OpType.Barrier), # type: ignore # noqa: PGH003
Op.create(OpType.Measure), # type: ignore [misc]
Op.create(OpType.Reset), # type: ignore [misc]
Op.create(OpType.CX), # type: ignore [misc]
Op.create(OpType.Barrier), # type: ignore [misc]
]
expected_false: list[Op] = [
Op.create(OpType.U1, 0.32), # type: ignore # noqa: PGH003
Op.create(OpType.H), # type: ignore # noqa: PGH003
Op.create(OpType.Z), # type: ignore # noqa: PGH003
Op.create(OpType.U1, 0.32), # type: ignore [misc]
Op.create(OpType.H), # type: ignore [misc]
Op.create(OpType.Z), # type: ignore [misc]
]

for op in expected_true:
Expand Down

0 comments on commit 7336634

Please sign in to comment.