I am trying to set up linting for a Python project using pylint in Visual Studio Code. I am managing dependencies using conda and have pylint installed through there, but VSC defaults to putting the global reference to pylint as the path (/Library/Frameworks/Python.framework/Versions/3.7/bin/pylint
) instead of the conda installation for this project (/opt/miniconda3/envs/tf/bin/pylint
).
I was able to solve linting issues by manually changing the VSC setting to the conda installation; I am wondering if there is a way to include this in the .pylintrc
so that my teammates cloning this repo can get linting without messing with their settings.