profile
viewpoint

Ask questionsHow to support pylint 2.5.0 configuration files

Currently only pylintrc and .pylintrc files are searched to override minimalchecker. With pylint 2.5, users can also use pyproject.toml and setup.cfg files.

The current method to alleviate this issue is to explicitly set pylintUseMinimalCheckers to false.

Three options of support I see (from simple to hard):

  1. Add note about file options in linting documentation.
  2. Make pylintUseMinimalCheckers have to be explicitly set to false by user. This is a breaking change for pylintrc file users.
  3. Add checks for pylint config in these two files to keep implicit. This requires a complicated checker that parses through both setup.cfg and pyproject.toml.
microsoft/vscode-python

Answer questions luabud

Once we address issue #11995, we will make pylintUseMinimalCheckers disabled by default (instead of enabled like we currently do). So I'm closing in favour of that 😊

useful!

Related questions

Auto Scroll in the Jupyter output hot 3
Workspace contains pipfile but pipenv --venv failed hot 2
Can you turn off the Microsoft Python Language Server? hot 2
Unable to debug Python tests (duplicate entries in "env") hot 2
Jupyter server crashed. Unable to connect. Cannot assign requested address hot 2
Auto Scroll in the Jupyter output hot 2
Unable to run launch targets with newest VS Code Python extension hot 2
Unable to start jupyter python interactive window hot 1
HBox output is not shown correctly in the interactive window hot 1
Debug -> Add Debug Configuration 'Cannot read property openConfigFile' hot 1
VSCode cannot connect to jupyter server; with browser this works fine hot 1
Linux arm64/aarch64 support hot 1
Add setting to disable icon for "Run Python File In Terminal" hot 1
Extension Host keeps crashing hot 1
Activate environment before debugging tests hot 1
Github User Rank List