A code snippet to show how to use PDM to work with lsp-python-ms in Emacs.
;; TODO: Cache result
(defun linw1995/pdm-get-python-executable (&optional dir)
(let ((pdm-get-python-cmd "pdm info --python"))
(string-trim
(shell-command-to-string