private static @NotNull PyCompatibilityInspectionAdvertiserSettings getSettings(@NotNull Project project) {
    return project.getService(PyCompatibilityInspectionAdvertiserSettings.class);
  }
private static @NotNull PyCompatibilityInspectionAdvertiserSettings getSettings(@NotNull Project project)