Skip to content

Commit e7d4c09

Browse files
committed
Arm backend: Fix mypy warnings in node_visitor.py
Annotate a dict to fix mypy warning. Change-Id: Icbe9f846ecddcf974c47f355c36df63b9ea8f593
1 parent 549b732 commit e7d4c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/arm/operators/node_visitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def define_node(
4444

4545

4646
# container for all node visitors
47-
_node_visitor_dicts = { # type: ignore[var-annotated]
47+
_node_visitor_dicts: Dict[TosaSpecification, Dict] = {
4848
TosaSpecification.create_from_string("TOSA-0.80+BI"): {},
4949
TosaSpecification.create_from_string("TOSA-0.80+MI"): {},
5050
}

0 commit comments

Comments
 (0)