def hyphens(token):
    """Validation for ``hyphens``."""
    keyword = get_keyword(token)
    if keyword in ('none', 'manual', 'auto'):
        return keyword
Validation for ``hyphens``.
weasyprint/css/validation/properties.py