Reputation: 21
I recently installed VScode on Ubuntu, and now it doesnt automatically linter the code using the python interpreter (as it did on Windows). This is really annoying me because I have to save the file every time I want it to linter.
Any answers are greatly appreciated
If you need more info, just let me know and I will provide it
Upvotes: 0
Views: 401
Reputation: 21
There is a setting called Python: Jedi Enabled
(looks like this). If you switch if off and then restart VSCode, the issue should be fixed
Upvotes: 0
Reputation: 4356
By default, linting for Python is enabled in Visual Studio Code using Pylint, and you can enable other linters of your choice. You can easily enable and disable all linting by using the Python: Enable Linting
command. Also you can verify your linting settings:
Settings
and check the which linting rules you have enabled :Command Palette
and check if the linter is enabled:More info: https://code.visualstudio.com/docs/python/linting
Upvotes: 1