1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] VSCode Python Linting .pylintrc in repository vs workspace root

Discussão em 'Python' iniciado por Stack, Setembro 17, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to get pylint with vscode to respect .pylintrc placed in a repository. I had a look into the documentation of both pylint and vscode python extension. It doesn't seem possible.

    Folder structure:

    Workspace-Root
    - Repository A
    - .pylintrc
    - src
    PYTHON SRC FILES
    - Repository B
    - .pylintrc
    - src
    PYTHON SRC FILES


    We have currently +30 repositories from different teams. Is it somehow possible to configure the extension so that it will recognize the .pylintrc from the different projects without changing the workspace root to the repository folders? I want the linter to use the file under the folder repo folder from where the .py file is opened.

    Continue reading...

Compartilhe esta Página