Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Dec 7, 2023
1 parent a44779b commit 1208ae1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vyper/semantics/analysis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,7 @@ def types_from_Compare(self, node):
raise InvalidOperation(
"Right operand must be Array for membership comparison", node.right
)
types_list = [
i for i in left if _any_compare_type(i, [i.value_type for i in right])
]
types_list = [i for i in left if _any_compare_type(i, [i.value_type for i in right])]
if not types_list:
raise TypeMismatch(
"Cannot perform membership comparison between dislike types", node
Expand Down

0 comments on commit 1208ae1

Please sign in to comment.