Skip to content

Cant enable linting #11465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JacksonKearl opened this issue Apr 28, 2020 · 2 comments
Closed

Cant enable linting #11465

JacksonKearl opened this issue Apr 28, 2020 · 2 comments
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@JacksonKearl
Copy link

from #11456

Environment data

  • VS Code version: 1.45.0-insider
  • Extension version (available under the Extensions sidebar): 2020.4.74986
  • OS and version: MacOS Mojave
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.2, brew
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): none
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): either
  • Value of the python.languageServer setting: Microsoft

I appear to be in a state where I have linting enabled in .vscode/settings.json, but when I run 'Python : Run Linting' nothing at all happens and there is nothing written to the python output channel. When I run 'Python: Enable Linting', it shows 'off' and even when I select 'on' and enter the quick pick again it remains 'off'

Kapture 2020-04-28 at 3 08 20

Dev tools suggest maybe a caching error?
image

@JacksonKearl JacksonKearl added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Apr 28, 2020
@JacksonKearl
Copy link
Author

JacksonKearl commented Apr 28, 2020

If I explicitly set python.linting.pylintEnabled: true linting works, but I would not expect to need to do that based on https://code.visualstudio.com/docs/python/linting#_specific-linters where it says pylint is enabled by default.

@karthiknadig
Copy link
Member

This should be addressed as a part of #7314

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Apr 29, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants