From b0a8f3e2f5ee28699d162bf6ed622a286a2bdd27 Mon Sep 17 00:00:00 2001 From: James Westman Date: Wed, 24 Nov 2021 20:06:55 -0600 Subject: [PATCH] Fix mypy warning --- gtkblueprinttool/completions_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtkblueprinttool/completions_utils.py b/gtkblueprinttool/completions_utils.py index 575189b..5666984 100644 --- a/gtkblueprinttool/completions_utils.py +++ b/gtkblueprinttool/completions_utils.py @@ -42,7 +42,7 @@ def applies_to(*ast_types): def completer(applies_in: T.List, matches: T.List=[], applies_in_subclass=None): def decorator(func): - def inner(prev_tokens: T.List[Token], ast_node: ast.AstNode): + def inner(prev_tokens: T.List[Token], ast_node): # For completers that apply in ObjectContent nodes, we can further # check that the object is the right class if applies_in_subclass is not None: