How do I disable “missing docstring” warnings at a file-level in Pylint?

前端 未结 11 722
情书的邮戳
情书的邮戳 2020-12-12 14:18

Pylint throws errors that some of files are missing docstrings. I try and add docstrings to each class, method and function but it seems that Pylint also checks that files s

11条回答
  •  天涯浪人
    2020-12-12 14:37

    (1) CTRL+SHIFT+P (2)Then type and click on >preferences:configure language specific settings (3)and then type python after that past the code

    {
    "python.linting.pylintArgs": [
        "--load-plugins=pylint_django","--errors-only"
    ],
    
    }
    

提交回复
热议问题