Skip to content

Commit

Permalink
Bump ruff to version 0.5.2 (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison authored Jul 16, 2024
1 parent 250e61a commit f36020e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion circuit_knitting/cutting/qpd/instructions/qpd_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def basis_id(self, basis_id: int | None) -> None:
def __eq__(self, other):
"""Check equivalence for QPDGate class."""
return (
type(other) == type(self)
type(other) is type(self)
and self.basis == other.basis
and self.basis_id == other.basis_id
and self.num_qubits == other.num_qubits
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ nbtest = [
style = [
"autoflake==2.3.1",
"black[jupyter]~=24.1",
"ruff==0.5.1",
"ruff==0.5.2",
"nbqa>=1.6.0",
]
lint = [
Expand Down

0 comments on commit f36020e

Please sign in to comment.