@utils.check_messages('nonexistent-operator')
def visit_unaryop(self, node):
    'check use of the non-existent ++ and -- operator operator'
    if ((node.op in '+-') and isinstance(node.operand, astroid.UnaryOp) and (node.operand.op == node.op)):
        self.add_message('nonexistent-operator', node=node, args=(node.op * 2))
check use of the non-existent ++ and -- operator operator
@utils.check_messages('nonexistent-operator')
def visit_unaryop(self, node):
    
    if ((node.op in '+-') and isinstance(node.operand, astroid.UnaryOp) and (node.operand.op == node.op)):
        self.add_message('nonexistent-operator', node=node, args=(node.op * 2))