Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit f0c0328

Browse files
Archmongerrmorshea
authored andcommitted
node: Any
1 parent 78c5026 commit f0c0328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake8_idom_hooks/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def is_component_def(node: ast.FunctionDef) -> bool:
3333
)
3434

3535

36-
def is_idom_component_decorator(node) -> bool:
36+
def is_idom_component_decorator(node: Any) -> bool:
3737
return getattr(node, "id", None) == "component" or (
3838
getattr(getattr(node, "value", None), "id", None) == "idom"
3939
and getattr(node, "attr", None) == "component"

0 commit comments

Comments
 (0)