-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Enable pylint suggestion keep showing up even though Pylint is enabled (in multiroot workspaces) #15559
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
Comments
Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. If you think your issue is more of a question or configuration problem rather than a bug, please ask on Stack Overflow with the Thanks for your understanding and patience! |
Hi @ashep , your issues seems to be the dup of #12971. Can you try the suggestion #12971 (comment) mentioned there? |
I'm able to reproduce this issue, thanks! This only happens in a multiroot scenario. In my case the first folder has a The workarounds mentioned in #12971 should help. Did you open any specific files or had any files opened when you saw the prompt? |
Hi @karrtikr! Thanks for the help. Yes, I have several .py files opened when I see that message at VS Code start. And my environment isn't a multiroot one. It is a normal single-root workspace. |
I see, did you open that workspace using |
Oh, I didn't know that if I have one folder opened with |
Great. FYI If you're working with a workspace ( |
I'm seeing this as well. I'm using Code 1.56.2 with Python 2021.5.842923320. I saw it in an earlier version as well, but I cannot remember which. I updated the Python extension this morning to see if the issue would go away. I am also using a multi-root workspace. I looked for (Fairly speculative) I wonder if the code that checks if this prompt should be displayed is somehow not consulting the VS Code default value for this setting. When setting the value, the API may check if you are just setting it to the current value and do nothing in that case. Or alternatively check if you are setting to the default and remove any entries. |
Related to #442 |
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. |
Environment data
python.languageServer
setting: pylance-2021.3.0Expected 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:
The text was updated successfully, but these errors were encountered: