I created a venv using python3.6 on my mac os in this folder
/Users/kim/Documents/Apps/PythonApps/python36-miros-a3
I ran a pip install pylint
Expanding on Gatmando's answer, you need to tell vscode to use the pylint in your .env
instead of the global pylint:
In your workspace settings file: .vscode/settings.json
, add python.linting.pylintPath
and point it to pylint
package in your virtualenv
:
{
"python.pythonPath": ".env/bin/python",
"python.linting.pylintPath": ".env/bin/pylint"
}