Specify which python version pylint should evaluate for

前端 未结 7 1342
孤城傲影
孤城傲影 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:43

    You can install pylint3 which will evaluate for python 3.0, and pylint which will evaluate the code as python 2.7 by default.

提交回复
热议问题