code: def get_checks(
      target_type=None,
      tags=None,
      ruleset_name=None,
      ruleset_file=None,
      ruleset=None,
      logging_level=logging.WARNING,
      checks_paths=None,
      skips=None,
  ):
      
      _set_logging(level=logging_level)
      logger.debug("Finding checks started.")
      return _get_checks(
          target_type=target_type,
          tags=tags,
          ruleset_name=ruleset_name,
          ruleset_file=ruleset_file,
          ruleset=ruleset,
          checks_paths=checks_paths,
          skips=skips,
      )
docs: Get the sanity checks for the target.
  
      :param skips: name of checks to skip
      :param target_type: TargetType enum
      :param tags: list of str (if not None, the checks will be filtered by tags.)
      :param ruleset_name: str (e.g. fedora; if None, default would be used)
      :param ruleset_file: fileobj instance holding ruleset configuration
      :param ruleset: dict, content of a ruleset file
      :param logging_level: logging level (default logging.WARNING)
      :param checks_paths: list of str, directories where the checks are present
      :return: list of check instances