Closed
Description
Environment data
- VS Code version: 1.14.1
- Extension version (available under the Extensions sidebar): 2020.1.58038
- OS and version: Windows 10
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): in project .venv
- Relevant/affected Python packages and their versions: poetry v1.0.2 'in the path'
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): both
Expected behaviour
poetry add --dev pylint
Actual behaviour
python -m pip install pylint
Steps to reproduce:
- poetry init
- poetry install
- create a python file
- the python extension start and activate the virtualenv as expected
- popup that inform no linter found in venv, ask to install
- this will install linter without poetry
The default python.poetryPath is set to poetry
and this is fine on linux;
on windows however, though the executable is in the path and is actually poetry
, it is called by the poetry.bat
file
this means that the right python.poetryPath for windows had to be set to poetry.bat
This isn't really a big issue, maybe can only be explicit as a settings reference