'Enter a whole number.' for 'invalid'. define the method __init__ with 5 arguments: self, max_value set to None, min_value set to None, unpacked list args and unpacked dictionary kwargs.
def __init__ ( self , max_value = None , min_value = None , * args , ** kwargs ) :