code: def scanForInputFiles(self):
      for formatterInstance in self.codeFormatterInstances:
          filePattern = re.compile(
              "^[^.].*\.("
              + "|".join(formatterInstance.fileEndings)
              + ")$"
          )
          formatterInstance.inputFiles = []
          for fileOrDirectory in self.args.input:
              if os.path.exists(fileOrDirectory):
                  formatterInstance.inputFiles.extend(
                      self.scanFileOrDirectory(
                          fileOrDirectory, filePattern
                      )
                  )
              else:
                  cprint(
                      "[WARN] Cannot find '" + fileOrDirectory + "'",
                      "yellow",
                  )
  
imports: import argparse
  import filecmp
  import os
  import re
  import sets
  import subprocess
  import sys
  from termcolor import cprint
label_desc: Use image node_id 4 for calling the CodeFormat obj's underlying member method code with example usage: obj.scanForInputFiles() without return types