@utils.check_messages('disallowed-name', 'invalid-name', 'assign-to-new-keyword', 'non-ascii-name')
def visit_functiondef(self, node):
    self._check_assign_to_new_keyword_violation(node.name, node)
    confidence = interfaces.HIGH
    if node.is_method():
        if utils.overrides_a_method(node.parent.frame(), node.name):
            return
        confidence = (interfaces.INFERENCE if utils.has_known_bases(node.parent.frame()) else interfaces.INFERENCE_FAILURE)
    self._check_name(_determine_function_name_type(node, config=self.config), node.name, node, confidence)
    args = node.args.args
    if (args is not None):
        self._recursive_check_names(args, node)
@utils.check_messages('disallowed-name', 'invalid-name', 'assign-to-new-keyword', 'non-ascii-name')
def visit_functiondef(self, node):
    self._check_assign_to_new_keyword_violation(node.name, node)
    confidence = interfaces.HIGH
    if node.is_method():
        if utils.overrides_a_method(node.parent.frame(), node.name):
            return
        confidence = (interfaces.INFERENCE if utils.has_known_bases(node.parent.frame()) else interfaces.INFERENCE_FAILURE)
    self._check_name(_determine_function_name_type(node, config=self.config), node.name, node, confidence)
    args = node.args.args
    if (args is not None):
        self._recursive_check_names(args, node)