linter cleanup

This commit is contained in:
Jan Petykiewicz 2024-07-28 20:35:37 -07:00
parent 810a09f18b
commit 1ae3ffb9a2
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable):
if not annotations_eq(self.annotations, other.annotations):
return False
if not ports_eq(self.ports, other.ports):
if not ports_eq(self.ports, other.ports): # noqa: SIM103
return False
return True

View File

@ -289,7 +289,7 @@ class Grid(Repetition):
return True
if self.b_vector is None or other.b_vector is None:
return False
if any(self.b_vector[ii] != other.b_vector[ii] for ii in range(2)):
if any(self.b_vector[ii] != other.b_vector[ii] for ii in range(2)): # noqa: SIM103
return False
return True