mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
PyCharm: Skip files in PYCHARM_PYTHONS dir in tests.
We might have scripts there (on Windows) like `fix_path.cmd`, we need to exclude them (cherry picked from commit e09ceac554f456a3d8a931e0dfe26872908c303c) IJ-CR-151567 (cherry picked from commit 8a8d68e41a6bd607622f3b6afa76e5dc878f4236) IJ-CR-151953 GitOrigin-RevId: 9a463cdc1e0c348c2ffa27f26e64781f5014bd97
This commit is contained in:
committed by
intellij-monorepo-bot
parent
da00fd4e04
commit
785ae87864
@@ -26,13 +26,13 @@ internal data class PyEnvTestSettings(
|
||||
private val foldersWithPythons: List<File> = listOfNotNull(folderWithCPythons, folderWithCondas).map { File(it) }
|
||||
|
||||
/**
|
||||
* Paths to all existing python SDKs
|
||||
* Paths to all existing python SDKs (as directories with python installation)
|
||||
*/
|
||||
@TestOnly
|
||||
internal val pythons: List<File> = foldersWithPythons
|
||||
.filter(File::exists)
|
||||
.flatMap { it.listFiles()?.toList() ?: emptyList() }
|
||||
.filter { !it.name.startsWith('.') }
|
||||
.filter { it.isDirectory && !it.name.startsWith('.') }
|
||||
.plus(additionalInterpreters)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user