Specify which python version pylint should evaluate for

前端 未结 7 1336
孤城傲影
孤城傲影 2020-12-18 17:58

I\'m using Sublime Text 3 With Pylinter to run pylint on my files.

However, on the same machine, I work on files for both python 2, and python 3 project

7条回答
  •  死守一世寂寞
    2020-12-18 18:47

    You can try python2 -m pylint ... and python3 -m pylint .... That ensures that you use the right version.

提交回复
热议问题