@@ -285,7 +285,9 @@ def kill(
285285 var .defined = False
286286 break
287287 else :
288- raise analysis_error (f"'{ name } ' is not a live input-only variable" , name_tkn )
288+ raise analysis_error (
289+ f"'{ name } ' is not a live input-only variable" , name_tkn
290+ )
289291 return True
290292
291293 def stackref_kill (
@@ -328,7 +330,7 @@ def stackref_close_specialized(
328330 self .out .emit (comma )
329331 dealloc = next (tkn_iter )
330332 if dealloc .kind != "IDENTIFIER" :
331- raise analysis_error ("Expected identifier" , dealloc )
333+ raise analysis_error ("Expected identifier" , dealloc )
332334 self .out .emit (dealloc )
333335 if name .kind == "IDENTIFIER" :
334336 escapes = dealloc .text not in NON_ESCAPING_DEALLOCS
@@ -391,7 +393,6 @@ def goto_label(self, goto: Token, label: Token, storage: Storage) -> None:
391393 print (self .labels .keys ())
392394 raise analysis_error (f"Label '{ label .text } ' does not exist" , label )
393395 label_node = self .labels [label .text ]
394- saved = False
395396 if label_node .spilled :
396397 if not storage .spilled :
397398 self .emit_save (storage )
@@ -503,7 +504,7 @@ def _emit_if(
503504 self .emit (next (tkn_iter ))
504505 maybe_if = tkn_iter .peek ()
505506 if maybe_if and maybe_if .kind == "IF" :
506- #Emit extra braces around the if to get scoping right
507+ # Emit extra braces around the if to get scoping right
507508 self .emit (" {\n " )
508509 self .emit (next (tkn_iter ))
509510 else_reachable , rbrace , else_storage = self ._emit_if (tkn_iter , uop , storage , inst )
@@ -617,7 +618,7 @@ def _emit_block(
617618 else :
618619 self .out .emit (tkn )
619620 except StackError as ex :
620- raise analysis_error (ex .args [0 ], tkn ) # from None
621+ raise analysis_error (ex .args [0 ], tkn ) from None
621622 raise analysis_error ("Expecting closing brace. Reached end of file" , tkn )
622623
623624 def emit_tokens (
0 commit comments