def METHOD_NAME(
    issues: List[LinterIssue], *, lint: Optional[projects.Lint]
) -> None:
    """Mark any remaining filename match as ignored."""
    if lint is None:
        return
    for issue in issues:
        files = lint.ignored_files(issue.name)
        for pattern in files:
            if (
                issue.filename
                and issue.result != LinterResult.IGNORED
                and fnmatch.fnmatch(issue.filename, pattern)
            ):
                emit.verbose(
                    f"Ignore {issue.name!r} linter issue ({issue.filename!r} "
                    f"matches {pattern!r})"
                )
                issue.result = LinterResult.IGNORED
                break