def _validate_checkers_data(checkers_data):
    """Check if precommit-checkers.yml contains valid options only."""
    for each_option in checkers_data:
        if each_option not in ('config', 'project-checkers', 'file-checkers'):
            raise ValueError(
                'precommit-checkers.yml contains invalid option "{}"'.
                format(each_option))
