@utils.check_messages(MESSAGE_ID)<EOL><INDENT>def visit_call(self, node):<DEDENT>
if not isinstance(node.func, astroid.Name):<EOL><INDENT>return<EOL><DEDENT>if node.func.name not in self.RANGE_FUNCTIONS:<EOL><INDENT>return<EOL><DEDENT>first = node.args[<NUM_LIT:0>]<EOL>if not isinstance(first, astroid.Const):<EOL><INDENT>return<EOL><DEDENT>if not isinstance(first.value, int):<EOL><INDENT>return<EOL><DEDENT>three1 = False<EOL>if len(node.args) == <NUM_LIT:3>:<EOL><INDENT>third = node.args[<NUM_LIT:2>]<EOL>if isinstance(third, astroid.Const):<EOL><INDENT>if isinstance(third.value, int) and third.value == <NUM_LIT:1>:<EOL><INDENT>three1 = True<EOL><DEDENT><DEDENT><DEDENT>if first.value == <NUM_LIT:0>:<EOL><INDENT>if len(node.args) == <NUM_LIT:2>:<EOL><INDENT>self.add_message(self.MESSAGE_ID, args=(node.func.name, "<STR_LIT>"), node=node)<EOL><DEDENT>elif three1:<EOL><INDENT>self.add_message(self.MESSAGE_ID, args=(node.func.name, "<STR_LIT>"), node=node)<EOL><DEDENT><DEDENT>elif three1:<EOL><INDENT>self.add_message(self.MESSAGE_ID, args=(node.func.name, "<STR_LIT>"), node=node)<EOL><DEDENT>
Called for every function call in the source code.