【发布时间】:2018-05-18 01:10:30
【问题描述】:
我希望 pylint 使用 python3 在 Mac 上的 Visual Studio 代码中进行 linting(同时具有 python 2.7 标准和 python 3.6)。
我尝试按照How can I debug Python3 code in Visual Studio Code 更改python 解释器的路径,但无济于事。我不断收到 python2 错误而不是 python3 错误。
有关问题,请参阅example code。
有没有办法让 pylint 识别 python3 错误?
【问题讨论】:
标签: python-3.x python-2.7 debugging visual-studio-code pylint