def _bigger_than_zero(value: str) -> int:
    """Type evaluator for argparse."""
    ivalue = int(value)
    if ivalue < 0:
        raise ArgumentTypeError(
            '{} should be bigger than 0'.format(ivalue)
        )
    return ivalue
def _bigger_than_zero ( value : str ) -> int : ivalue = int ( value ) if ivalue < 0 : raise ArgumentTypeError ( '{} should be bigger than 0' . format ( ivalue ) ) return ivalue
Type evaluator for argparse.