( root: AbsPath, prefix: RelPath )
| 686 | } |
| 687 | |
| 688 | async function loadPythonConfigs( |
| 689 | root: AbsPath, |
| 690 | prefix: RelPath |
| 691 | ): Promise<PythonConfigs> { |
| 692 | const configs: PythonConfigs = {}; |
| 693 | const pythonRequest = await maybeLoadPythonRequest(root, prefix); |
| 694 | if (pythonRequest != null) { |
| 695 | configs[PythonConfigKind.PythonVersion] = pythonRequest; |
| 696 | } |
| 697 | |
| 698 | return configs; |
| 699 | } |
| 700 | |
| 701 | /* |
| 702 | * Read and parse a .python-version file if it exists in the given subdirectory. |
no test coverage detected