Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 1, 2023
1 parent cb704b2 commit 1ccb8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/py_matter_idl/matter_idl/lint/lint_rules_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def start(self, instructions):
def instruction(self, instruction):
return Discard

def all_endpoint_rule(self, rules: List[AttributeRequirement | ClusterAttributeDeny]):
def all_endpoint_rule(self, rules: List[AttributeRequirement, ClusterAttributeDeny]):
for rule in rules:
if type(rule) is AttributeRequirement:
self.context.RequireAttribute(rule)
Expand Down

0 comments on commit 1ccb8c7

Please sign in to comment.