from pathlib import Path


def get_config_path(root: str, idiom: str) -> Path:
    """Get path to idiom config

    Arguments:
        root {str} -- root directory of idiom config
        idiom {str} -- basename of idiom config

    Returns:
        Tuple[Path, Path] -- pathlib.Path to file
    """
    root_path = Path(root)
    file_name = '{}.json'.format(idiom)

    return root_path.joinpath(file_name)