pyright-python icon indicating copy to clipboard operation
pyright-python copied to clipboard

use different venv during local development and during cicd

Open copdips opened this issue 2 years ago • 1 comments

Hello,

I'm using pyright by is public github action. and I see that pyright has a param venv which can specify the venv path, I would like to know that, during the local development, I use venv, it's OK. But during the CICD, I don't use venv, just install everything at system level, in such case, how to keep a single pyproject.toml but with different venv ? Does pyright support find automatically the package installation path based on python executable used. It seems that mypy can do that, we do not need to specify which venv to use, just run mypy

copdips avatar Sep 26 '23 20:09 copdips

Same

ryanpeach avatar Sep 11 '24 00:09 ryanpeach