@Predicate
def NonexistentPath(val):
    """A switch-type validator that ensures that the given argument is a nonexistent path"""
    p = local.path(val)
    if p.exists():
        raise ValueError((val,) % "%r already exists")
    return p
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/cli/switches.py/NonexistentPath/swapped operands of `%`