private static @Nullable Module getModule(Project project, PythonRunParams config) {
    String name = config.getModuleName();
    return StringUtil.isEmpty(name) ? null : ModuleManager.getInstance(project).findModuleByName(name);
  }
private static @Nullable Module getModule(Project project, PythonRunParams config)