def validate_remote(ctx, param, value):
    if value:
        try:
            remote, branch = value.split('/')
            return (remote, branch)
        except __HOLE__:
            raise click.BadParameter('remote need to be in format <remote>/<branch>')
dataset/ETHPy150Open marcwebbie/passpie/passpie/validators.py/validate_remote