@Override
  public boolean isSuppressedFor(@NotNull PsiElement element, @NotNull String toolId) {
    if (element instanceof PsiFileSystemItem || !(element.getContainingFile() instanceof PyFile)) {
      return false;
    }

    final PsiComment comment = PyPsiUtils.findSameLineComment(element);
    if (comment != null) {
      final Set<String> givenCodes = extractNoqaCodes(comment);
      if (givenCodes != null) {
        final ImmutableSet<String> knownCodes = ourInspectionToFlake8Code.get(toolId);
        return givenCodes.isEmpty() || StreamEx.of(knownCodes).cross(givenCodes).anyMatch((known, given) -> known.startsWith(given));
      }
    }
    return false;
  }
@Override
  public boolean isSuppressedFor(@NotNull PsiElement element, @NotNull String toolId)