@utils.check_messages('too-many-star-expressions', 'invalid-star-assignment-target')
def visit_assign(self, node):
    assign_target = node.targets[0]
    if isinstance(node.targets[0], astroid.Starred):
        self.add_message('invalid-star-assignment-target', node=node)
    if (not isinstance(assign_target, astroid.Tuple)):
        return
    if self._too_many_starred_for_tuple(assign_target):
        self.add_message('too-many-star-expressions', node=node)
@utils.check_messages('too-many-star-expressions', 'invalid-star-assignment-target')
def visit_assign(self, node):
    assign_target = node.targets[0]
    if isinstance(node.targets[0], astroid.Starred):
        self.add_message('invalid-star-assignment-target', node=node)
    if (not isinstance(assign_target, astroid.Tuple)):
        return
    if self._too_many_starred_for_tuple(assign_target):
        self.add_message('too-many-star-expressions', node=node)