code: def print_errors(file, errors):
      global success
      if len(errors) > 0:
          success = False
          print(f"- {file}")
          for line in errors:
              print("    " + line)
          print()
  
file_path: mindsdb/tests/scripts/check_requirements.py
imports: import glob
  import re
  import sys
  import subprocess
  import os
  import json
label_desc: Use image node_id 2 for calling a global function with example usage: print_errors(file, errors) without return types