mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix mypy warning
This commit is contained in:
parent
c4beb6841c
commit
b0a8f3e2f5
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue