'Ignore matches included in ignore_names.
:param matches:
:type matches:
:return:
:rtype:'

def _matches_ignore(self, matches):

    if self.ignore_names:
        for match in list(matches):
            if (match.name in self.ignore_names):
                matches.remove(match)
