pylint: configuration to disable certain warnings

python, visual-studio-code

Solution

I found this answer helpful on setting up a config file.

Basically, add the following to a .pylintrc file in your home directory.

[MESSAGES CONTROL]
disable=C0103

Problem

I'm trying to use vscode with pylint for my Python needs. It works quite well but one thing I don't like is some of the python complaints. E.g: - Invalid variable names. In short methods or short loops (< 5 lines). I use one character variable names like `d` for dict and `l` for line. - Missing doc string. Coding style argument aside, I'd like an option to turn this off. It looks like I can do this with pylint command line option. But I'd like to make it into configuration that can be reflected in vscode. How can I do that?

Original source

Related problems