def _validate_mode_and_arguments(self, args, inplace, recursive, **others):
        if inplace and recursive:
            raise DataError('--recursive and --inplace can not be used together.')
        if recursive and (1 > len(args) or not os.path.isdir(args[0])):
            raise DataError('--recursive requires exactly one directory as argument.')
        if not (inplace or recursive) and len(args) > 2:
            raise DataError('Default mode requires 1 or 2 arguments.')
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/tidy.py/TidyCommandLine._validate_mode_and_arguments/swapped operands of `>`