|
|
@ -2018,7 +2018,9 @@ It uses pyvenv to activate the venv. Somehow it doesn't do it on its own. Maybe |
|
|
|
(add-hook 'python-mode-hook |
|
|
|
(lambda () |
|
|
|
(setq-local python-shell-interpreter (pet-executable-find "python") |
|
|
|
python-shell-virtualenv-root (pet-virtualenv-root)) |
|
|
|
python-shell-virtualenv-root (pet-virtualenv-root) |
|
|
|
lsp-pyright-python-executable-cmd python-shell-interpreter |
|
|
|
lsp-pyright-venv-path python-shell-virtualenv-root) |
|
|
|
(flymake-mode) |
|
|
|
(lsp) |
|
|
|
(setq-local dap-python-executable python-shell-interpreter)))) |
|
|
|