parameters: (min=None, max=None, min_included=True, max_included=True)
return_statement: return All(
          int_,
          Range(min=min, max=max, min_included=min_included, max_included=max_included),
      )
docstring: Validate that the config option is an integer in the given range.
docstring_summary: Validate that the config option is an integer in the given range.
docstring_tokens: Validate that the config option is an integer in the given range .
function: def int_range(min=None, max=None, min_included=True, max_included=True):
      """Validate that the config option is an integer in the given range."""
      if min is not None:
          assert isinstance(min, int)
      if max is not None:
          assert isinstance(max, int)
      return All(
          int_,
          Range(min=min, max=max, min_included=min_included, max_included=max_included),
      )
function_tokens: def int_range ( min = None , max = None , min_included = True , max_included = True ) : if min is not None : assert isinstance ( min , int ) if max is not None : assert isinstance ( max , int ) return All ( int_ , Range ( min = min , max = max , min_included = min_included , max_included = max_included ) , )