linter cleanup
This commit is contained in:
parent
810a09f18b
commit
1ae3ffb9a2
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue