问题
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