Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable pylint suggestion keep showing up even though Pylint is enabled (in multiroot workspaces) #15559

Closed
@ashep

Description

@ashep

Environment 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:

  1. Open vscode
  2. Open any .py file
  3. See the pop up message "You have a pylintrc file in your workspace. Do you want to enable pylint?".
  4. Click "Enable pylint button".
  5. Close vscode
  6. Open vscode
  7. See that message again

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-lintingbugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions