nvim-neotest / neotest-python

MIT License
132 stars 40 forks source link

Fix for detection of poetry venvs when outside of poetry shell #49

Closed bastikohn closed 1 year ago

bastikohn commented 1 year ago

If you are not in a poetry shell, the venv detection does not work. This patch prepends poetry run before poetry env info -p, which makes venv detection work both inside and outside the poetry subshell.

rcarriga commented 1 year ago

Nice thanks for the PR! :smile: