def validate_numeric(type_func, value):
    try:
        return type_func(value)
    except ValueError:
        raise ValidationError((type_func.__name__, value) % "Invalid %s: %s")
dataset/ETHPy150Open dnephin/PyStaticConfiguration/staticconf/validation.py/validate_numeric/swapped operands of `%`