pylint doesn't point to virtualenv python

后端 未结 10 1724
执笔经年
执笔经年 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:37

    A cheap trick is to run (the global) pylint using the virtualenv python. You can do this using python $(which pylint) instead of just pylint. On zsh, you can also do python =pylint.

提交回复
热议问题