@@ -109,11 +109,7 @@ def format_stack_entry(
109109 s = format_token (Mformat .Function , funcname , highlight = color )
110110
111111 args , varargs , varkw , local_vars = inspect .getargvalues (frame )
112- if "<module>" == funcname and ([], None , None ,) == (
113- args ,
114- varargs ,
115- varkw ,
116- ):
112+ if "<module>" == funcname and ([], None , None ,) == (args , varargs , varkw ,):
117113 is_module = True
118114 if is_exec_stmt (frame ):
119115 fn_name = format_token (Mformat .Function , "exec" , highlight = color )
@@ -229,9 +225,12 @@ def check_path_with_frame(frame, path):
229225 if bc_size and bc_size != my_size :
230226 return False , "bytecode and local files mismatch"
231227 if fs_size and fs_size != my_size :
232- return False , (
233- "frame file size, %d bytes, and local file size, %d bytes, on file %s mismatch"
234- % (fs_size , my_size , path )
228+ return (
229+ False ,
230+ (
231+ "frame file size, %d bytes, and local file size, %d bytes, on file %s mismatch"
232+ % (fs_size , my_size , path )
233+ ),
235234 )
236235 return True , None
237236
0 commit comments