void (@Nullable Module module, @NotNull GeneralCommandLine commandLine, @Nullable String sdkHome, boolean passParentEnvs, boolean shouldAddContentRoots, boolean shouldAddSourceRoots, boolean isDebug) { Sdk pythonSdk = PythonSdkUtil.findSdkByPath(sdkHome); if (pythonSdk != null) { List<String> pathList = new ArrayList<>(); pathList.addAll(getAddedPaths(pythonSdk)); pathList.addAll(collectPythonPath(module, sdkHome, shouldAddContentRoots, shouldAddSourceRoots, isDebug)); initPythonPath(commandLine, passParentEnvs, pathList, sdkHome); } }