[Python] pylint: configuration to disable certain warnings

Discussão em 'Python' iniciado por Stack, Agosto 9, 2025.

  1. Stack

    Stack Membro Participativo

    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:

    1. 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.
    2. 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?

    Continue reading...

Compartilhe esta Página