@NotNull
  @Override
  public DirectoryProcessingResult detectRoots(@NotNull File dir,
                                               File @NotNull [] children,
                                               @NotNull File base,
                                               @NotNull List<DetectedProjectRoot> result) {
    LOG.info("Detecting roots under " + dir);
    for (File child : children) {
      final String name = child.getName();
      if (FileUtilRt.extensionEquals(name, "py")) {
        LOG.info("Found Python file " + child.getPath());
        result.add(new DetectedContentRoot(dir, PYTHON, PythonModuleTypeBase.getInstance(), WebModuleTypeBase.getInstance()));
        return DirectoryProcessingResult.SKIP_CHILDREN;
      }
      if ("node_modules".equals(name)) {
        return DirectoryProcessingResult.SKIP_CHILDREN;
      }
    }
    return DirectoryProcessingResult.PROCESS_CHILDREN;
  }
@NotNull
  @Override
  public DirectoryProcessingResult detectRoots(@NotNull File dir,
                                               File @NotNull [] children,
                                               @NotNull File base,
                                               @NotNull List<DetectedProjectRoot> result)