From 1ae3ffb9a28ee4b35af72bce18c985328224c662 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 28 Jul 2024 20:35:37 -0700 Subject: [PATCH] linter cleanup --- masque/pattern.py | 2 +- masque/repetition.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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