Skip to content Skip to sidebar Skip to footer

How To Define Pylance Linting Arguments In Vs Code (something Like "python.linting.pylanceargs")?

Until around 3 weeks ago, I'd been using pylint for linting my python-files in VS Code. Then, I enabled pylance replacing pylint. Yet, pylance is not listed in the specific linter-

Solution 1:

The python.linting.pylintArgs setting is for pylint only and is not used by pylance (as far as I know)

It seems the setting you are looking for is this one python.analysis.diagnosticSeverityOverrides:

{"python.analysis.diagnosticSeverityOverrides":{"reportUnusedImport":"information"}}

For the list of pylance settings you can visit this page and this one.

Post a Comment for "How To Define Pylance Linting Arguments In Vs Code (something Like "python.linting.pylanceargs")?"