0

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

1
  • Hi davfsa you don't seem to have asked a question. You might want to check out this guide: stackoverflow.com/help/how-to-ask Commented Jan 7, 2020 at 9:33

2 Answers 2

1

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:

  1. Go to Settings and check the which linting rules you have enabled :

enter image description here

  1. Go to Command Palette and check if the linter is enabled:

enter image description here

More info: https://code.visualstudio.com/docs/python/linting

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.