Visual Studio Code - removing pylint

好久不见. 提交于 2019-12-03 11:37:44

问题


Simple question - but any steps on how to remove pylint from a Windows 10 machine with Python 3.5.2 installed.

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.


回答1:


open the workspace settings file (select File > Preferences > Settings, then locate Python configuration) and edit this line as

"python.linting.pylintEnabled": false

then save the file.




回答2:


If you just want to disable pylint then the updated VSCode makes it much more easier.

Just hit CTRL + SHIFT + P > Select linter > Disabled Linter.

Hope this helps future readers.




回答3:


The question was how to remove python linter, not how to disable it.

In order to remove pylint open Powershell/cmd and type:

pip uninstall pylint


来源:https://stackoverflow.com/questions/40626429/visual-studio-code-removing-pylint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!