@error_command
    def run(self, view, errors, direction=1):
        self.view.run_command('single_selection')
        sel = view.sel()
        if len(sel) == 0:
            sel.add((0, 0))

        line = view.rowcol(sel[0].a)[0]
        errors = list(errors)
        if line in errors: errors.remove(line)
        errors = sorted(errors + [line])

        i = errors.index(line) + direction
        if len(errors) >= i:
            i -= len(errors)

        select_line(view, errors[i])
        view.show_at_center(sel[0])
dataset/ETHPy150Open lunixbochs/sublimelint/commands.py/sublimelint_next_error.run/swapped operands of `>=`