Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable all python linting in VSCode

Using the Microsoft Python extension there doesn't appear to be a way to disable linting globally.

I don't mind linting when I am wondering where a typo is that is causing issues, but I certainly don't need it to tell me that the entire code block is bad when I start to add any code that isn't a complete line.

I have disabled every linter I can find in all the settings I can find, here's settings.json for instance:

    "python.linting.lintOnSave": false,
    "python.linting.pylintEnabled": false,
    "python.linting.pylintUseMinimalCheckers": false,
    "python.linting.enabled": false

I would think that there is a way to completely disable linting globally with one button click, but even just turning it off for python would be enough for me now. Am I asking too much?

like image 819
Roostercrab Avatar asked Oct 15 '22 15:10

Roostercrab


1 Answers

in my case just by going to the setting and searching for lint python in the search bar of the setting page and by unchecking the

Python > linting: Enabled:

enter image description here did well and disabled the linting for python scripts!

like image 177
amdev Avatar answered Nov 02 '22 23:11

amdev