File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -458,18 +458,23 @@ def filter_functions(
458458            malformed_paths_count  +=  1 
459459            continue 
460460        if  blocklist_funcs :
461+             console .print ([blocklist_funcs , f"file_path: { file_path }  " ])
461462            filtered_functions  =  []
462463            for  function  in  functions :
463464                should_keep  =  True 
464465
465466                rel_path  =  str (Path (function .file_path ).relative_to (project_root ))
467+                 console .print (f"rel_path: { rel_path }  " )
466468
467469                if  rel_path  in  blocklist_funcs  and  function .function_name  in  blocklist_funcs [rel_path ]:
468470                    console .print (
469471                        f"blocklist: Removing { function .function_name }   in { rel_path }   because it is blocklisted" 
470472                    )
471473                    should_keep  =  False 
472- 
474+                 else :
475+                     console .print (
476+                         f"blocklist: Keeping { function .function_name }   in { rel_path }   because it is not blocklisted" 
477+                     )
473478                if  should_keep :
474479                    filtered_functions .append (function )
475480            functions  =  filtered_functions 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments