Enable pylint suggestion keep showing up even though Pylint is enabled (in multiroot workspaces)
See original GitHub issueEnvironment data
- VS Code version: 1.54.0
- Extension version (available under the Extensions sidebar): v2021.2.582707922
- OS and version: Linux x64 5.11.2-arch1-1
- Python version (& distribution if applicable, e.g. Anaconda): 3.5.10
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): venv
- Relevant/affected Python packages and their versions:
- Relevant/affected Python-related VS Code extensions and their versions: pylance-2021.3.0
- Value of the
python.languageServer
setting: pylance-2021.3.0
Expected behaviour
After clicking “Enable pylint” button and have “python.linting.pylintEnabled” setting set to true, it is expected to stop seeing pop-up message “You have a pylintrc file in your workspace. Do you want to enable pylint?”.
Actual behaviour
The popup window “You have a pylintrc file in your workspace. Do you want to enable pylint?” pops up each time I start vscode despite on having python.linting.pylintEnabled" setting set to true.
Steps to reproduce:
- Open vscode
- Open any .py file
- See the pop up message “You have a pylintrc file in your workspace. Do you want to enable pylint?”.
- Click “Enable pylint button”.
- Close vscode
- Open vscode
- See that message again
Issue Analytics
- State:
- Created 3 years ago
- Comments:10
Top Results From Across the Web
Linting Python in Visual Studio Code
Enabling a linter prompts you to install the required packages in your ... file in the workspace folder, as described on Pylint command...
Read more >VS Code Python Intellisense and pylint not working properly
I have anaconda installed, but it doesn't make any difference which Python interpreter I use. Any suggestions? Thanks! Settings.json file: { " ...
Read more >11 Best VS Code extensions for Python (2022)
This list contains the 10 best VS Code extensions for Python including Pylance, Sourcery, Python by Microsoft, and more.
Read more >Pylance Now Default Language Server for Python in Visual ...
Pylance is now the default language server for Python in Visual Studio Code, providing IntelliSense functionality as of the May 2021 release ...
Read more >VSCode 1.74.0 Download for Windows / Change Log ...
WSL docs use deprecated Chrome Debugger as extension example - Feature request: Show content of updates in RSS feed
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great. FYI If you’re working with a workspace (
.code-workspace
), it’s considered a multiroot scenario. In this case you didn’t save the workspace yet, but you’re still adding folders to a workspace.We removed the “You have a pylintrc file in your workspace. Do you want to enable pylint?” prompt as part of #17225, closing this issue as stale.