A
A
AveWycc2020-05-16 22:51:04
Python
AveWycc, 2020-05-16 22:51:04

Why doesn't pylint work in pipenv in vscode editor?

Installed pylint in pipenv with the command:
pipenv install pylint --dev
vscode settings:

{
    "python.pythonPath": "C:\\Users\\mik16\\.virtualenvs\\bulls_and_cows-o9IZFbak\\Scripts\\python.exe",
    "python.linting.pylintPath": "C:\\Users\\mik16\\.virtualenvs\\bulls_and_cows-o9IZFbak\\Scripts\\pylint.exe",
    "python.linting.pylintEnabled": true,
    "python.linting.enabled": true,
    "code-runner.executorMap": {
        "python": "$pythonPath -u $fullFileName"
    }
}

The fact that pylint is installed and the path to it:
5ec04410d5e43258174497.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Yakushenko, 2020-05-16
@AveWycc

In one of the latest updates to the Python extension for VS Code , they added support for the Python Language Server , which includes a linter out of the box and does not require it to be installed in a virtual environment. Make sure you have the latest versions of VS Code itself and the extension installed.
And yes, where did you get the idea that the linter does not work?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question