How do I get PyLint to recognize numpy members?

前端 未结 22 1037
南旧
南旧 2020-11-28 20:29

I am running PyLint on a Python project. PyLint makes many complaints about being unable to find numpy members. How can I avoid this while avoiding skipping membership check

22条回答
  •  迷失自我
    2020-11-28 20:49

    I'm not sure if this is a solution, but in VSCode once I wrote explicitly in my user settings to enable pylint, all modules were recognized.

    {
        "python.linting.pep8Enabled": true,
        "python.linting.pylintEnabled": true
    }
    

提交回复
热议问题