I have a package I'm developing in a Conda virtual environment that runs fine and imports all my installed modules as needed. I'm trying to use a pylint git pre-commit hook, but getting E0401 import-errors for installed modules (e.g., Pandas). I've tried several suggestions to edit my path via the .pylintrc init-hook
option with no luck. I can add the direct path to my conda environment's site-packages folder, but that of course doesn't work for other collaborators. pylint is installed in the conda environment. I'm using the command line to run pylint.
How do I use pylint
with a conda virtual environment?