Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Nov 9, 2023
1 parent 114973d commit eb8ffc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vyper/semantics/analysis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ 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 _is_assignable_to_type(i, [i.value_type for i in right])]
types_list = [
i for i in left if _is_assignable_to_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 eb8ffc5

Please sign in to comment.