                   "min_max",  # Tuple containing min and max values of scale
                   "rounding"]  # Decimal places to round floats to or step interval for ints
          return [(name, getattr(self, name)) for name in names]
  
      def __call__(self, parser, namespace, values, option_string=None):
          setattr(namespace, self.dest, values)
 
</s> remove     def __call__(self, parser, namespace, values, option_string=None):
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None: </s> remove     def __call__(self, parser, namespace, values, option_string=None):
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None: </s> remove     def __call__(self, parser, namespace, values, option_string=None):
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None: </s> remove     pass  # pylint: disable=unnecessary-pass
 </s> add     def __call__(self, parser, namespace, values, option_string=None) -> None:
        """ Override :class:`_FullPaths` __call__ function.

        The input for this option can be a space separated list of files or a single folder.
        Folders can have spaces in them, so we don't want to blindly expand the paths.

        We check whether the input can be resolved to a folder first before expanding.
        """
        assert isinstance(values, (list, tuple))
        folder = os.path.abspath(os.path.expanduser(" ".join(values)))
        if os.path.isdir(folder):
            setattr(namespace, self.dest, [folder])
        else:  # file list so call parent method
            super().__call__(parser, namespace, values, option_string) </s> remove     def _validate_inputs(cls,
 </s> add     def _files_from_folder(cls, input_location: List[str]) -> List[str]:
        """ Test whether the input location is a folder and if so, return the list of contained
        image files, otherwise return the original input location

        Parameters
        ---------
        input_files: list
            A list of full paths to individual files or to a folder location

        Returns
        -------
        bool
            Either the original list of files provided, or the image files that exist in the
            provided folder location
        """
        if not input_location or len(input_location) > 1:
            return input_location

        test_folder = input_location[0]
        if not os.path.isdir(test_folder):
            logger.debug("'%s' is not a folder. Returning original list", test_folder)
            return input_location

        retval = [os.path.join(test_folder, fname)
                  for fname in os.listdir(test_folder)
                  if os.path.splitext(fname)[-1].lower() in _image_extensions]
        logger.info("Collected files from folder '%s': %s", test_folder,
                    [os.path.basename(f) for f in retval])
        return retval

    def _validate_inputs(self,
    def __call__(self, parser, namespace, values, option_string=None) -> None:
                   "min_max",  # Tuple containing min and max values of scale
                   "rounding"]  # Decimal places to round floats to or step interval for ints
          return [(name, getattr(self, name)) for name in names]
  
    def __call__(self, parser, namespace, values, option_string=None) -> None:
          setattr(namespace, self.dest, values)
keep keep keep keep replace keep
 bugfix - extract filters: spaces in folder names 
lib/cli/actions.py