import re


def _get_space_separated_linter_name(linter_name):
    """Returns the space separated name of the linter class.

    Args:
        linter_name: str. Name of the linter class.

    Returns:
        str. Space separated name of the linter class.
    """
    return re.sub(
        r'((?<=[a-z])[A-Z]|(?<!\A)[A-Z](?=[a-z]))',
        r' \1', linter_name)