pylint doesn't point to virtualenv python

后端 未结 10 1839
执笔经年
执笔经年 2021-01-07 19:19

I am pretty new to python and currenty I am trying to use pylint for checking code quality. I am getting a problem. My pylint doesn\'t point to virtualenv python interpreter

10条回答
  •  余生分开走
    2021-01-07 19:44

    I'm using the Syntastic + Pylint combination, and since I have many different virtualenvs that I can work on at any given time, I've created a wrapper over the virtualenv command that, among some other things, installs pylint after all the requirements.

    That way, whenever I activate a virtualenv, I'll get its own pylint version.

    Hope this helps, and thanks for the tip on deleting the global one from @briford-wylie

提交回复
热议问题