@@ -494,7 +494,7 @@ def _def_ast(ctx: CompilerContext, form: llist.List) -> ASTStream:
494
494
yield _node (ast .Call (
495
495
func = _INTERN_VAR_FN_NAME ,
496
496
args = [ns_name , def_name , ast .Name (id = safe_name , ctx = ast .Load ())],
497
- keywords = list (chain (dynamic_kwarg , _unwrap_nodes (meta )))))
497
+ keywords = list (chain (dynamic_kwarg , _unwrap_nodes (meta ))))) # type: ignore
498
498
499
499
500
500
def _do_ast (ctx : CompilerContext , form : llist .List ) -> ASTStream :
@@ -957,7 +957,7 @@ def _import_ast(ctx: CompilerContext, form: llist.List) -> ASTStream:
957
957
last = ast .Name (id = module_name , ctx = ast .Load ())
958
958
yield _dependency (ast .Call (
959
959
func = _load_attr (f'{ _NS_VAR_VALUE } .add_import' ),
960
- args = list (chain (_unwrap_nodes (_to_ast (ctx , s )), [last ])),
960
+ args = list (chain (_unwrap_nodes (_to_ast (ctx , s )), [last ])), # type: ignore
961
961
keywords = []))
962
962
963
963
assert last is not None
@@ -1139,7 +1139,7 @@ def _recur_ast(ctx: CompilerContext, form: llist.List) -> ASTStream:
1139
1139
1140
1140
has_vargs = any ([s == _AMPERSAND for s in ctx .recur_point .args ])
1141
1141
yield _node (ast .Call (func = _TRAMPOLINE_ARGS_FN_NAME ,
1142
- args = list (itertools .chain ([ast .NameConstant (has_vargs )],
1142
+ args = list (itertools .chain ([ast .NameConstant (has_vargs )], # type: ignore
1143
1143
_unwrap_nodes (exprs ))),
1144
1144
keywords = []))
1145
1145
except IndexError :
@@ -1860,7 +1860,7 @@ def compile_and_exec_form(form: LispForm, # pylint: disable= too-many-arguments
1860
1860
# rather than using Var.find indrection.
1861
1861
final_wrapped_name = genname (wrapped_fn_name )
1862
1862
body = _expressionize ([form_ast [- 1 ]], final_wrapped_name )
1863
- form_ast = list (itertools .chain (map (_statementize , form_ast [:- 1 ]), [body ]))
1863
+ form_ast = list (itertools .chain (map (_statementize , form_ast [:- 1 ]), [body ])) # type: ignore
1864
1864
1865
1865
ast_module = ast .Module (body = form_ast )
1866
1866
ast .fix_missing_locations (ast_module )
0 commit comments