def filter_issues(self, package, issues):
    'Filter issues based on exceptions list.'
    exceptions = self.get_exceptions(package)
    if exceptions['file']:
        issues = self.filter_file_exceptions(package, exceptions['file'], issues)
    if exceptions['message_regex']:
        issues = self.filter_regex_exceptions(exceptions['message_regex'], issues)
    issues = self.filter_nolint(issues)
    return issues
Filter issues based on exceptions list.
def filter_issues(self, package, issues):
    
    exceptions = self.get_exceptions(package)
    if exceptions['file']:
        issues = self.filter_file_exceptions(package, exceptions['file'], issues)
    if exceptions['message_regex']:
        issues = self.filter_regex_exceptions(exceptions['message_regex'], issues)
    issues = self.filter_nolint(issues)
    return issues