Visual Studio Code - 删除 pylint [英] Visual Studio Code - removing pylint
问题描述
一个简单的问题 - 但有关如何从安装了 Python 3.5.2 的 Windows 10 机器中删除 pylint 的任何步骤.
Simple question - but any steps on how to remove pylint from a Windows 10 machine with Python 3.5.2 installed.
我安装了一个旧版本的 pylint,它对旧的 Python 2 语义进行了拼写检查,当 Visual Studio Code 中出现波浪线时,它让我很烦.
I got an old version of pylint installed that's spellchecking on old Python 2 semantics and it's bugging the heck out of me when the squigglies show up in Visual Studio Code.
推荐答案
打开工作区设置文件(选择 File > Preferences > Settings,然后找到 Python 配置)并将这一行编辑为
open the workspace settings file (select File > Preferences > Settings, then locate Python configuration) and edit this line as
"python.linting.pylintEnabled": 假
"python.linting.pylintEnabled": false
然后保存文件.
这篇关于Visual Studio Code - 删除 pylint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!