code: def generate_covered_files(top_dir):
      for dirpath, dirnames, filenames in os.walk(top_dir):
          omit_dirs = [
              dirn for dirn in dirnames if omit_dir_re.match(dirn)
          ]
          for x in omit_dirs:
              dirnames.remove(x)
          for filename in filenames:
              if source_re.match(filename):
                  yield os.path.join(dirpath, filename)
  
imports: from __future__ import print_function
  import os
  import re
  import sys
  from argparse import ArgumentParser
label_desc: Use image node_id 1 for calling a global function with example usage: generate_covered_files(top_dir) without return types