diff --git a/masque/pattern.py b/masque/pattern.py index 0696552..47f64c5 100644 --- a/masque/pattern.py +++ b/masque/pattern.py @@ -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 diff --git a/masque/repetition.py b/masque/repetition.py index 972f3b7..68b6b19 100644 --- a/masque/repetition.py +++ b/masque/repetition.py @@ -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